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

23 lines
608 B
YAML

apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: kubernetes-dashboard
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