You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2023/08/14 10:54:18 UTC
[airflow] branch main updated: Replace common.tplvalues.render by tpl in ingress template files (#33384)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new a86313ff14 Replace common.tplvalues.render by tpl in ingress template files (#33384)
a86313ff14 is described below
commit a86313ff146e867adcbeb283f9f3f89780ebc312
Author: Hussein Awala <hu...@awala.fr>
AuthorDate: Mon Aug 14 12:54:11 2023 +0200
Replace common.tplvalues.render by tpl in ingress template files (#33384)
---
chart/templates/flower/flower-ingress.yaml | 2 +-
chart/templates/webserver/webserver-ingress.yaml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/chart/templates/flower/flower-ingress.yaml b/chart/templates/flower/flower-ingress.yaml
index 165da4b246..3ced2025c9 100644
--- a/chart/templates/flower/flower-ingress.yaml
+++ b/chart/templates/flower/flower-ingress.yaml
@@ -84,7 +84,7 @@ spec:
{{- $hostname = .name -}}
{{- end }}
{{- if $hostname }}
- host: {{ include "common.tplvalues.render" ( dict "value" $hostname "context" $ ) | quote }}
+ host: {{ tpl $hostname $ | quote }}
{{- end }}
{{- end }}
{{- if .Values.ingress.flower.ingressClassName }}
diff --git a/chart/templates/webserver/webserver-ingress.yaml b/chart/templates/webserver/webserver-ingress.yaml
index 0f6b1d82d0..889a512d3f 100644
--- a/chart/templates/webserver/webserver-ingress.yaml
+++ b/chart/templates/webserver/webserver-ingress.yaml
@@ -101,7 +101,7 @@ spec:
{{- $hostname = .name -}}
{{- end }}
{{- if $hostname }}
- host: {{ include "common.tplvalues.render" ( dict "value" $hostname "context" $ ) | quote }}
+ host: {{ tpl $hostname $ | quote }}
{{- end }}
{{- end }}
{{- if .Values.ingress.web.ingressClassName }}