Skip to content

Commit

Permalink
change values name to useCertManager
Browse files Browse the repository at this point in the history
  • Loading branch information
ihiverlet committed Jan 11, 2024
1 parent 29b39ee commit fbf1083
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/library-chart/templates/_ingress.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Usage:
{{- if .Values.security.allowlist.enabled }}
nginx.ingress.kubernetes.io/whitelist-source-range: {{ .Values.security.allowlist.ip }}
{{- end }}
{{- if not .Values.ingress.useDefaultCertificate }}
{{- if .Values.ingress.useCertManager }}
cert-manager.io/cluster-issuer: {{ .Values.ingress.certManagerClusterIssuer }}
{{- end }}
{{- end }}
Expand Down Expand Up @@ -56,7 +56,7 @@ spec:
tls:
- hosts:
- {{ .Values.ingress.hostname | quote }}
{{- if not .Values.ingress.useDefaultCertificate }}
{{- if .Values.ingress.useCertManager }}
secretName: tls-cert-{{ include "library-chart.fullname" . }}
{{- end }}
{{- end }}
Expand Down

0 comments on commit fbf1083

Please sign in to comment.