1
0
Fork 0
home-stack-kustomize/kustomize/base/kubernetes-dashboard/ingress.yaml

23 lines
616 B
YAML
Raw Normal View History

2020-05-17 02:17:14 +00:00
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: kubernetes-dashboard-ingress
labels:
app: kubernetes-dashboard
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
cert-manager.io/cluster-issuer: letsencrypt
spec:
tls:
- hosts:
- kubernetes-dashboard.127.0.0.1.nip.io
secretName: letsencrypt-cert
rules:
- host: kubernetes-dashboard.127.0.0.1.nip.io
http:
paths:
- path: /
backend:
serviceName: kubernetes-dashboard
servicePort: 443