Add quoting support in ingress to allow wildcard domain

pull/3956/head
Julien Bordellier 7 years ago
parent d502f7c8a8
commit cf3ded91f2

@ -143,14 +143,14 @@ spec:
{{- range .Values.ingress.tls }} {{- range .Values.ingress.tls }}
- hosts: - hosts:
{{- range .hosts }} {{- range .hosts }}
- {{ . }} - {{ . | quote }}
{{- end }} {{- end }}
secretName: {{ .secretName }} secretName: {{ .secretName }}
{{- end }} {{- end }}
{{- end }} {{- end }}
rules: rules:
{{- range .Values.ingress.hosts }} {{- range .Values.ingress.hosts }}
- host: {{ . }} - host: {{ . | quote }}
http: http:
paths: paths:
- path: {{ $ingressPath }} - path: {{ $ingressPath }}

Loading…
Cancel
Save