From 056e4e5f8011d12c503b94528f04702d77cecd37 Mon Sep 17 00:00:00 2001 From: tobihein Date: Wed, 2 Nov 2022 20:44:41 +0000 Subject: [PATCH 1/2] Render hostnames in ingress Rendering hostnames in the ingress provides the possibility to support hostnames like `my-app-{{ .Release.Name}}.example.com` --- charts/zipkin/templates/ingress.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/zipkin/templates/ingress.yaml b/charts/zipkin/templates/ingress.yaml index 70ea0e0b455..2e387c307bc 100644 --- a/charts/zipkin/templates/ingress.yaml +++ b/charts/zipkin/templates/ingress.yaml @@ -39,13 +39,13 @@ spec: {{- range .Values.ingress.tls }} - hosts: {{- range .hosts }} - - {{ . | quote }} + - {{ tpl . $ | quote }} {{- end }} secretName: {{ .secretName }} {{- end }} {{- end }} rules: - - host: {{ .Values.ingress.host | quote }} + - host: {{ tpl .Values.ingress.host . | quote }} http: paths: - path: {{ .Values.ingress.path }} From 6cf0baf39bac2ee00be3546e9b7cf63996a4d85f Mon Sep 17 00:00:00 2001 From: tobihein Date: Wed, 2 Nov 2022 20:53:19 +0000 Subject: [PATCH 2/2] Bump chart-version to 0.3.1 --- charts/zipkin/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/zipkin/Chart.yaml b/charts/zipkin/Chart.yaml index 13263cf198a..95bf8ea6858 100644 --- a/charts/zipkin/Chart.yaml +++ b/charts/zipkin/Chart.yaml @@ -14,7 +14,7 @@ appVersion: 2.23.16 name: zipkin description: A Zipkin helm chart for kubernetes type: application -version: 0.3.0 +version: 0.3.1 maintainers: - name: openzipkin email: zipkin-dev@googlegroups.com