This commit is contained in:
parent
0cf01eb1e1
commit
ee250095f5
@ -4,7 +4,8 @@ metadata:
|
|||||||
name: minikube-dashboard-ingress
|
name: minikube-dashboard-ingress
|
||||||
namespace: kubernetes-dashboard
|
namespace: kubernetes-dashboard
|
||||||
annotations:
|
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"
|
nginx.ingress.kubernetes.io/enable-cors: "false"
|
||||||
spec:
|
spec:
|
||||||
rules:
|
rules:
|
||||||
@ -17,4 +18,10 @@ spec:
|
|||||||
service:
|
service:
|
||||||
name: kubernetes-dashboard
|
name: kubernetes-dashboard
|
||||||
port:
|
port:
|
||||||
number: 80
|
number: 80
|
||||||
|
|
||||||
|
- path: /access(/|$)(.*)
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: kubernetes-dashboard
|
||||||
|
port: 80
|
Loading…
Reference in New Issue
Block a user