ingress?
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simple_Not 2023-06-22 13:02:55 +10:00
parent de5fb54732
commit 36795411a9

View File

@ -5,7 +5,7 @@ metadata:
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/rewrite-target: /
nginx.ingress.kubernetes.io/enable-cors: "false" nginx.ingress.kubernetes.io/enable-cors: "false"
spec: spec:
rules: rules:
@ -20,9 +20,3 @@ spec:
port: port:
number: 80 number: 80
- path: /access(/|$)(.*)
pathType: Prefix
backend:
service:
name: kubernetes-dashboard
port: 80