From 290ed2a4a920a35e1318e55b69832f02b9570345 Mon Sep 17 00:00:00 2001 From: Denan Musinovic Date: Mon, 27 May 2024 16:30:42 +0200 Subject: [PATCH] [mock-subdomain-server] fix ingress --- charts/mock-subdomain-server/templates/ingress.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/mock-subdomain-server/templates/ingress.yaml b/charts/mock-subdomain-server/templates/ingress.yaml index 7275bf3..b37417e 100644 --- a/charts/mock-subdomain-server/templates/ingress.yaml +++ b/charts/mock-subdomain-server/templates/ingress.yaml @@ -15,10 +15,10 @@ spec: ingressClassName: nginx tls: - hosts: - - first{{ .Values.ingress.authlevel }}{{ .Values.ingress.url }} + - first.{{ .Values.ingress.url }} secretName: {{ if eq .Values.ingress.cert "" }}distributorwildcard{{ else }}{{ .Values.ingress.cert }}{{ end }} rules: - - host: first{{ .Values.ingress.authlevel }}{{ .Values.ingress.url }} + - host: first-{{ .Values.ingress.url }} http: paths: - path: / @@ -45,10 +45,10 @@ spec: ingressClassName: nginx tls: - hosts: - - second{{ .Values.ingress.authlevel }}{{ .Values.ingress.url }} + - second.{{ .Values.ingress.url }} secretName: {{ if eq .Values.ingress.cert "" }}distributorwildcard{{ else }}{{ .Values.ingress.cert }}{{ end }} rules: - - host: second{{ .Values.ingress.authlevel }}{{ .Values.ingress.url }} + - host: second-{{ .Values.ingress.url }} http: paths: - path: /