Skip to content

Commit c3db30b

Browse files
thesuperzappergsemet
authored andcommitted
make ingress.web/flower.tls.secretName optional
Signed-off-by: Mathew Wicks <[email protected]>
1 parent 4477add commit c3db30b

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

charts/airflow/templates/flower/flower-ingress.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ spec:
2121
tls:
2222
- hosts:
2323
- {{ .Values.ingress.flower.host }}
24+
{{- if .Values.ingress.flower.tls.secretName }}
2425
secretName: {{ .Values.ingress.flower.tls.secretName }}
26+
{{- end }}
2527
{{- end }}
2628
rules:
2729
- http:

charts/airflow/templates/webserver/webserver-ingress.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ spec:
2121
tls:
2222
- hosts:
2323
- {{ .Values.ingress.web.host }}
24+
{{- if .Values.ingress.web.tls.secretName }}
2425
secretName: {{ .Values.ingress.web.tls.secretName }}
26+
{{- end }}
2527
{{- end }}
2628
rules:
2729
- http:

charts/airflow/values.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,9 +1117,6 @@ ingress:
11171117

11181118
## the name of a pre-created Secret containing a TLS private key and certificate
11191119
##
1120-
## NOTE:
1121-
## - this MUST be specified if `tls.enabled` is true
1122-
##
11231120
secretName: ""
11241121

11251122
## http paths to add to the web Ingress before the default path
@@ -1176,9 +1173,6 @@ ingress:
11761173

11771174
## the name of a pre-created Secret containing a TLS private key and certificate
11781175
##
1179-
## NOTE:
1180-
## - this MUST be specified if `tls.enabled` is true
1181-
##
11821176
secretName: ""
11831177

11841178
## http paths to add to the flower Ingress before the default path

0 commit comments

Comments
 (0)