k8s/manifests/03-ingress/minikube-dashboard-ingress.yaml
Simple_Not 0aa8b32baa
All checks were successful
continuous-integration/drone/push Build is passing
remake many certs
2023-07-17 00:10:27 +10:00

22 lines
564 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: minikube-dashboard-ingress
namespace: kubernetes-dashboard
annotations:
#nginx.ingress.kubernetes.io/rewrite-target: /$1
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/enable-cors: "false"
spec:
rules:
- host: minikube.guaranteedstruggle.host
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: kubernetes-dashboard
port:
number: 80