ingress-nginx-helm/examples/rbac/nginx/nginx-ingress-controller-service.yml
Daniel Sachse 4ae356d93f Added tls ports to rbac nginx ingress controller and service
The rbac nginx ingress controller and service were missing tls/https
ports and nodePorts
2017-09-21 19:53:43 +02:00

21 lines
370 B
YAML

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
- name: https
port: 443
nodePort: 30443
targetPort: 443
protocol: TCP
selector:
k8s-app: nginx-ingress-lb