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

23 lines
608 B
YAML
Raw Normal View History

2020-05-17 02:17:14 +00:00
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
2020-05-18 20:18:39 +00:00
name: kubernetes-dashboard
2020-05-17 02:17:14 +00:00
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:
2020-08-02 03:40:27 +00:00
- ${KUBERNETES_DASHBOARD_EXTERNAL_HOST}
2020-05-17 02:17:14 +00:00
secretName: letsencrypt-cert
rules:
2020-08-02 03:40:27 +00:00
- host: ${KUBERNETES_DASHBOARD_EXTERNAL_HOST}
2020-05-17 02:17:14 +00:00
http:
paths:
- path: /
backend:
serviceName: kubernetes-dashboard
servicePort: 443