Skip to content

Commit

Permalink
add certManager secret name (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
ihiverlet authored Jan 23, 2024
1 parent 12b33fe commit 11e9664
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/library-chart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v2
name: library-chart
version: 1.5.18
version: 1.5.19
type: library
6 changes: 6 additions & 0 deletions charts/library-chart/templates/_ingress.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 11e9664

Please sign in to comment.