From ecd6a9a94761eb1c6ddf7e18dfe99326c71ea1a0 Mon Sep 17 00:00:00 2001 From: Marcel Zapf Date: Thu, 11 Jan 2024 12:43:26 +0000 Subject: [PATCH] change ingress --- helm/templates/ingress.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/helm/templates/ingress.yaml b/helm/templates/ingress.yaml index d137eb7..529a95f 100644 --- a/helm/templates/ingress.yaml +++ b/helm/templates/ingress.yaml @@ -6,9 +6,9 @@ metadata: annotations: {{- toYaml .Values.ingress.annotations | nindent 4 }} spec: - ingressClassName: nginx-example + ingressClassName: {{ $.Values.ingress.class }} rules: - {{ .Values.ingress.class }} + {{- range .Values.ingress.hosts }} - host: {{ .host }} http: paths: @@ -32,4 +32,4 @@ spec: secretName: {{ .secretName }} {{- end }} {{- end }} -{{- end }} +{{- end }} \ No newline at end of file