From 0e63cff51dbeffe14ee706ea56736b91af9de48a Mon Sep 17 00:00:00 2001 From: parklize Date: Tue, 9 Jul 2024 10:16:24 +0100 Subject: [PATCH] redirect testing ingress --- server/charts/server/templates/ingress2.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 server/charts/server/templates/ingress2.yaml diff --git a/server/charts/server/templates/ingress2.yaml b/server/charts/server/templates/ingress2.yaml new file mode 100644 index 0000000..3ab19af --- /dev/null +++ b/server/charts/server/templates/ingress2.yaml @@ -0,0 +1,20 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: {{ include "app.fullname" . }} + annotations: + nginx.ingress.kubernetes.io/use-regex: "true" + nginx.ingress.kubernetes.io/rewrite-target: /ui +spec: + ingressClassName: nginx + rules: + - host: {{ .Values.ingressHostName }} + http: + paths: + - backend: + service: + name: {{ include "app.fullname" . }} + port: + number: 8080 + path: / + pathType: Exact