Introduce working example of nginx controller with rbac

This commit is contained in:
Michael Grosser 2017-06-08 06:34:36 +00:00
parent d556cc07b6
commit ec6efbd9d3
4 changed files with 115 additions and 56 deletions

View file

@ -0,0 +1,16 @@
apiVersion: v1
kind: Service
metadata:
name: nginx-ingress
namespace: nginx-ingress
spec:
# Can also use LoadBalancer type
type: NodePort
ports:
- name: http
port: 8080
nodePort: 30080
targetPort: 80
protocol: TCP
selector:
k8s-app: nginx-ingress-lb