Skip to content

Commit

Permalink
fix: ensure let's encrypt email can be set
Browse files Browse the repository at this point in the history
Signed-off-by: Gabor Boros <[email protected]>
  • Loading branch information
gabor-boros committed Dec 17, 2024
1 parent 3b9be99 commit a7a3b2f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/harmony-chart/templates/issuer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ metadata:
name: harmony-letsencrypt-global
spec:
acme:
{{- if index .Values "cert-manager" "email" }}
email: {{ index .Values "cert-manager" "email" }}
{{- if .Values.notificationEmail }}
email: {{ .Values.notificationEmail }}
{{- end }}
privateKeySecretRef:
name: harmony-letsencrypt-global
Expand Down
4 changes: 4 additions & 0 deletions charts/harmony-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

clusterDomain: "*"

# Email address used for receiving Let's encrypt notifications if cert-manager
# is enabled.
notificationEmail: null

ingress-nginx:
# Use ingress-nginx as a default controller.
enabled: true
Expand Down

0 comments on commit a7a3b2f

Please sign in to comment.