From c5510d9c42873865b8144d3efee64cd84ca99b21 Mon Sep 17 00:00:00 2001 From: yahel Date: Tue, 28 May 2024 12:06:43 +0300 Subject: [PATCH] PR #121 fixes --- charts/localstack/templates/ingress.yaml | 6 ++---- charts/localstack/test-values.yaml | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/charts/localstack/templates/ingress.yaml b/charts/localstack/templates/ingress.yaml index 285c29b..da46633 100644 --- a/charts/localstack/templates/ingress.yaml +++ b/charts/localstack/templates/ingress.yaml @@ -26,17 +26,15 @@ spec: tls: {{- range .Values.ingress.tls }} - hosts: - {{- $base := . }} {{- range .hosts }} - - {{ tpl . $base | quote }} + - {{ tpl . $ | quote }} {{- end }} secretName: {{ .secretName }} {{- end }} {{- end }} rules: - {{- $base := . }} {{- range .Values.ingress.hosts }} - - host: {{ tpl .host $base | quote }} + - host: {{ tpl .host $ | quote }} http: paths: {{- range .paths }} diff --git a/charts/localstack/test-values.yaml b/charts/localstack/test-values.yaml index 87e5bb1..e1c39c3 100644 --- a/charts/localstack/test-values.yaml +++ b/charts/localstack/test-values.yaml @@ -24,7 +24,7 @@ ingressHost: chart-example.local ingress: enabled: true hosts: - - host: {{ .Values.ingressHost }} + - host: "{{ .Values.ingressHost }}" # enable localstack pro (don't forget to set your API key) # image: