Ingress tls secret name may be empty

This commit is contained in:
Nicolas Bonneval 2021-06-04 11:12:20 +02:00
parent 6d7acd9677
commit 8e0de0403f

View file

@ -26,9 +26,11 @@ spec:
{{- range .hosts }} {{- range .hosts }}
- {{ . | quote }} - {{ . | quote }}
{{- end }} {{- end }}
{{- if .secretName }}
secretName: {{ .secretName }} secretName: {{ .secretName }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- end }}
rules: rules:
{{- $csHosts := .Values.ingress.csHosts }} {{- $csHosts := .Values.ingress.csHosts }}
{{- if .Values.ingress.includeServerName }} {{- if .Values.ingress.includeServerName }}