From e766eff9ff4347b8e478e6706ffd372307ec50cb Mon Sep 17 00:00:00 2001 From: Sven Urbanski Date: Fri, 9 Aug 2024 15:08:23 +0200 Subject: [PATCH] fix: add /token to ingress (#1861) Ref: SRX-XCZB2E --- charts/kuberpult/templates/ingress.yaml | 7 +++++++ charts/kuberpult/tests/charts_test.go | 1 + 2 files changed, 8 insertions(+) diff --git a/charts/kuberpult/templates/ingress.yaml b/charts/kuberpult/templates/ingress.yaml index 4ac425caf..2e6df9633 100644 --- a/charts/kuberpult/templates/ingress.yaml +++ b/charts/kuberpult/templates/ingress.yaml @@ -84,6 +84,13 @@ spec: name: kuberpult-frontend-service port: name: http + - pathType: Prefix + path: /token + backend: + service: + name: kuberpult-frontend-service + port: + name: http - pathType: Prefix path: /login backend: diff --git a/charts/kuberpult/tests/charts_test.go b/charts/kuberpult/tests/charts_test.go index ee1b06eb9..2d61e1299 100644 --- a/charts/kuberpult/tests/charts_test.go +++ b/charts/kuberpult/tests/charts_test.go @@ -1540,6 +1540,7 @@ func makeAllIngressPaths() []networking.HTTPIngressPath { makeIngressPrefixPath("/api/"), makeIngressPrefixPath("/dex"), makeIngressPrefixPath("/callback"), + makeIngressPrefixPath("/token"), makeIngressPrefixPath("/login"), makeIngressImplementationSpecificPath("/ui/*"), makeIngressExactPath("/"),