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"