From b3d7c61108aa8b80e08a210a58c7dca01cd55013 Mon Sep 17 00:00:00 2001 From: Cedric Verstraeten Date: Tue, 14 May 2024 16:47:47 +0200 Subject: [PATCH] fix --- .../templates/kerberos-hub/hub-frontend.yaml | 21 +++++++++++++++++++ charts/hub/values.yaml | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/charts/hub/templates/kerberos-hub/hub-frontend.yaml b/charts/hub/templates/kerberos-hub/hub-frontend.yaml index 29086c1..2e20917 100644 --- a/charts/hub/templates/kerberos-hub/hub-frontend.yaml +++ b/charts/hub/templates/kerberos-hub/hub-frontend.yaml @@ -53,6 +53,15 @@ spec: serviceName: hub-frontend-svc servicePort: 80 {{- end }} + {{- range .Values.kerberoshub.frontend.domains }} + - host: "{{ . }}" + http: + paths: + - path: / + backend: + serviceName: hub-frontend-svc + servicePort: 80 + {{- end }} {{- else }} rules: - host: "{{ .Values.kerberoshub.frontend.url }}" @@ -77,6 +86,18 @@ spec: port: number: 80 {{- end }} + {{- range .Values.kerberoshub.frontend.domains }} + - host: "{{ . }}" + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: hub-frontend-svc + port: + number: 80 + {{- end }} {{- end }} --- apiVersion: apps/v1 diff --git a/charts/hub/values.yaml b/charts/hub/values.yaml index 48a721e..48a833c 100644 --- a/charts/hub/values.yaml +++ b/charts/hub/values.yaml @@ -151,7 +151,7 @@ kerberoshub: api: repository: kerberos/hub-api pullPolicy: IfNotPresent - tag: "1.0.1265092716" + tag: "1.0.1279136252" replicas: 2 jwtSecret: "this-is-a-secret-please-change-to-random-string" # change to a random value, this is for generating JWT tokens. schema: "https"