diff --git a/chart/templates/ingress.yaml b/chart/templates/ingress.yaml index b315cdbbd8db857965369e30427064371dc7df55..044c6fad45a0bf6ce53a10fbb805abd6de44f0ef 100644 --- a/chart/templates/ingress.yaml +++ b/chart/templates/ingress.yaml @@ -31,6 +31,9 @@ metadata: {{- end }} spec: {{- if .Values.ingress.tls.enabled }} +{{- if .Values.ingress.tls.custom }} +{{ toYaml .Values.ingress.tls.custom | indent 2 }} +{{- else }} tls: - hosts: {{- if .Values.service.commonName }} @@ -43,6 +46,7 @@ spec: {{- end -}} {{- end }} secretName: {{ .Values.ingress.tls.secretName | default (printf "%s-tls" (include "fullname" .)) }} +{{- end }} {{- end }} rules: - host: {{ template "hostname" .Values.service.url }}