ingress?
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Simple_Not 2023-06-22 13:01:43 +10:00
parent 0cf01eb1e1
commit ee250095f5

View File

@ -4,7 +4,8 @@ metadata:
name: minikube-dashboard-ingress
namespace: kubernetes-dashboard
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /$1
#nginx.ingress.kubernetes.io/rewrite-target: /$1
nginx.ingress.kubernetes.io/rewrite-target: /$2
nginx.ingress.kubernetes.io/enable-cors: "false"
spec:
rules:
@ -17,4 +18,10 @@ spec:
service:
name: kubernetes-dashboard
port:
number: 80
number: 80
- path: /access(/|$)(.*)
backend:
service:
name: kubernetes-dashboard
port: 80