diff --git a/manifests/03-ingress/minikube-dashboard-ingress.yaml b/manifests/03-ingress/minikube-dashboard-ingress.yaml index 9216a1b..d1af523 100644 --- a/manifests/03-ingress/minikube-dashboard-ingress.yaml +++ b/manifests/03-ingress/minikube-dashboard-ingress.yaml @@ -5,7 +5,7 @@ metadata: namespace: kubernetes-dashboard annotations: #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" spec: rules: @@ -19,10 +19,4 @@ spec: name: kubernetes-dashboard port: number: 80 - - - path: /access(/|$)(.*) - pathType: Prefix - backend: - service: - name: kubernetes-dashboard - port: 80 \ No newline at end of file + \ No newline at end of file