From 8653988012fa73891d81246f88f8b2d6a1f53746 Mon Sep 17 00:00:00 2001 From: rom sharon <33751805+romsharon98@users.noreply.github.com> Date: Wed, 14 Aug 2024 04:21:28 +0300 Subject: [PATCH] Support templated hostname in NOTES (#41423) --- chart/templates/NOTES.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chart/templates/NOTES.txt b/chart/templates/NOTES.txt index 2e96cfa80ca4..846159d6ac65 100644 --- a/chart/templates/NOTES.txt +++ b/chart/templates/NOTES.txt @@ -78,7 +78,7 @@ Airflow Webserver: {{- $hostname = .name -}} {{- end }} {{- end }} - http{{ if $tlsEnabled }}s{{ end }}://{{ $hostname }}{{ $.Values.ingress.web.path }}/ + http{{ if $tlsEnabled }}s{{ end }}://{{ (tpl $hostname $) }}{{ $.Values.ingress.web.path }}/ {{- end }} {{- end }} {{- if and (or .Values.ingress.flower.enabled .Values.ingress.enabled) (or (eq .Values.executor "CeleryExecutor") (eq .Values.executor "CeleryKubernetesExecutor")) }} @@ -92,7 +92,7 @@ Flower dashboard: {{- $hostname = .name -}} {{- end }} {{- end }} - http{{ if $tlsEnabled }}s{{ end }}://{{ $hostname }}{{ $.Values.ingress.flower.path }}/ + http{{ if $tlsEnabled }}s{{ end }}://{{ (tpl $hostname $) }}{{ $.Values.ingress.flower.path }}/ {{- end }} {{- end }} {{- else }}