Skip to content

Commit

Permalink
modify condition on ingress tls secretName (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
ihiverlet authored Oct 22, 2024
1 parent be7696a commit aeffb4d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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.26
version: 1.5.27
type: library
6 changes: 3 additions & 3 deletions charts/library-chart/templates/_ingress.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ spec:
tls:
- hosts:
- {{ .Values.ingress.hostname | quote }}
{{- if .Values.ingress.useCertManager }}
{{- if or .Values.ingress.useCertManager .Values.ingress.useTlsSecret}}
secretName: tls-cert-{{ include "library-chart.fullname" . }}
{{- end }}
{{- end }}
Expand Down Expand Up @@ -97,7 +97,7 @@ spec:
tls:
- hosts:
- {{ .Values.ingress.userHostname | quote }}
{{- if .Values.ingress.useCertManager }}
{{- if or .Values.ingress.useCertManager .Values.ingress.useTlsSecret}}
secretName: tls-cert-{{ include "library-chart.fullname" . }}
{{- end }}
{{- end }}
Expand Down Expand Up @@ -138,7 +138,7 @@ spec:
tls:
- hosts:
- {{ .Values.ingress.sparkHostname | quote }}
{{- if .Values.ingress.useCertManager }}
{{- if or .Values.ingress.useCertManager .Values.ingress.useTlsSecret }}
secretName: tls-cert-{{ include "library-chart.fullname" . }}
{{- end }}
{{- end }}
Expand Down

0 comments on commit aeffb4d

Please sign in to comment.