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

28 lines
708 B
YAML
Raw Normal View History

2021-08-26 16:42:21 +00:00
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: kubernetes-dashboard
labels:
2021-08-26 16:42:32 +00:00
app.kubernetes.io/name: kubernetes-dashboard
2021-08-26 16:42:21 +00:00
annotations:
# nginx.ingress.kubernetes.io/rewrite-target: /
# nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
# ingress.kubernetes.io/protocol: https
# cert-manager.io/cluster-issuer: letsencrypt
spec:
# tls:
# - hosts:
# - ${GITEA_EXTERNAL_HOST}
# secretName: letsencrypt-cert
rules:
- host: ${KUBERNETES_DASHBOARD_EXTERNAL_HOST}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: kubernetes-dashboard
port:
number: 443