fredthomsen commented on a change in pull request #18542:
URL: https://github.com/apache/airflow/pull/18542#discussion_r724713938
##########
File path: chart/templates/webserver/webserver-ingress.yaml
##########
@@ -99,8 +114,12 @@ spec:
servicePort: {{ .servicePort }}
{{- end }}
{{- end }}
- {{- if . }}
- host: {{ . | quote }}
+ {{- $hostname := . -}}
+ {{- if and $.Values.ingress.web.hosts ($.Values.ingress.web.hosts |
first | kindIs "string" | not) }}
+ {{- $hostname = .name -}}
+ {{- end }}
+ {{- if $hostname }}
+ host: {{ $hostname | quote }}
Review comment:
Ok only needed this for `$anyTlsHosts` and made your suggested update on
the flower and web ingress.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]