diff --git a/charts/library-chart/Chart.yaml b/charts/library-chart/Chart.yaml index ef8c16f2..3704f2a9 100644 --- a/charts/library-chart/Chart.yaml +++ b/charts/library-chart/Chart.yaml @@ -1,4 +1,4 @@ apiVersion: v2 name: library-chart -version: 1.5.18 +version: 1.5.19 type: library diff --git a/charts/library-chart/templates/_ingress.tpl b/charts/library-chart/templates/_ingress.tpl index a8cf35c1..e5b5b31b 100644 --- a/charts/library-chart/templates/_ingress.tpl +++ b/charts/library-chart/templates/_ingress.tpl @@ -97,6 +97,9 @@ spec: tls: - hosts: - {{ .Values.ingress.userHostname | quote }} + {{- if .Values.ingress.useCertManager }} + secretName: tls-cert-{{ include "library-chart.fullname" . }} + {{- end }} {{- end }} rules: - host: {{ .Values.ingress.userHostname | quote }} @@ -135,6 +138,9 @@ spec: tls: - hosts: - {{ .Values.ingress.sparkHostname | quote }} + {{- if .Values.ingress.useCertManager }} + secretName: tls-cert-{{ include "library-chart.fullname" . }} + {{- end }} {{- end }} rules: - host: {{ .Values.ingress.sparkHostname | quote }}