Skip to content

Commit

Permalink
chart: directly use squote for ealarms
Browse files Browse the repository at this point in the history
  • Loading branch information
sonroyaalmerol authored May 20, 2024
1 parent 8e7bb61 commit d64d00f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/sogo/templates/email-alarms-cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
app.kubernetes.io/managed-by: {{ .Release.Service }}
data:
{{- if or .Values.sogo.smtp.username .Values.sogo.smtp.existingSecret }}
cron: {{ printf "* * * * * sogo /usr/sbin/sogo-ealarms-notify -p /etc/sogo/smtp.creds > /dev/null 2>&1" | squote }}
cron: {{ squote "* * * * * sogo /usr/sbin/sogo-ealarms-notify -p /etc/sogo/smtp.creds > /dev/null 2>&1" }}
{{- else }}
cron: {{ printf "* * * * * sogo /usr/sbin/sogo-ealarms-notify > /dev/null 2>&1" | squote }}
cron: {{ squote "* * * * * sogo /usr/sbin/sogo-ealarms-notify > /dev/null 2>&1" }}
{{- end }}

0 comments on commit d64d00f

Please sign in to comment.