Skip to content

Commit

Permalink
fix session value on cronjob
Browse files Browse the repository at this point in the history
  • Loading branch information
sonroyaalmerol authored Nov 1, 2024
1 parent 5f05247 commit b138b77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/sogo/templates/session-cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ metadata:
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
data:
cron: {{ printf "* * * * * sogo /usr/sbin/sogo-tool expire-sessions %d > /dev/null 2>&1" (.Values.sogo.sessionCleanup.maxInactivity | default 60) | squote }}
cron: {{ (printf "* * * * * sogo /usr/sbin/sogo-tool expire-sessions %d > /dev/null 2>&1" (.Values.sogo.sessionCleanup.maxInactivity | int)) | squote }}
{{- end }}

0 comments on commit b138b77

Please sign in to comment.