From ee250095f5e57da950ca0c57e9e88fe07e396ea9 Mon Sep 17 00:00:00 2001 From: Simple_Not <44047940+moonbaseDelta@users.noreply.github.com> Date: Thu, 22 Jun 2023 13:01:43 +1000 Subject: [PATCH] ingress? --- manifests/03-ingress/minikube-dashboard-ingress.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/manifests/03-ingress/minikube-dashboard-ingress.yaml b/manifests/03-ingress/minikube-dashboard-ingress.yaml index aa61216..2c9267b 100644 --- a/manifests/03-ingress/minikube-dashboard-ingress.yaml +++ b/manifests/03-ingress/minikube-dashboard-ingress.yaml @@ -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 \ No newline at end of file + number: 80 + + - path: /access(/|$)(.*) + backend: + service: + name: kubernetes-dashboard + port: 80 \ No newline at end of file