(helm) allow to configure cronjobs using backend image

We want to configure cronjobs. Instead of declaring them one by one, we
use a CronJobList, the will all have the same pattern, mostly the
command and the schedule will change.
This commit is contained in:
Manuel Raynaud
2025-07-01 14:49:46 +02:00
parent 6c3850b22b
commit 1d741871d7
4 changed files with 121 additions and 1 deletions

View File

@@ -285,6 +285,17 @@ backend:
annotations:
argocd.argoproj.io/hook: PostSync
# List of cronjob to add
# cronjobs:
# - name: reset-database
# schedule: "0 */2 * * *"
# command:
# - "/bin/sh"
# - "-c"
# - python manage.py flush --no-input
## @param backend.cronjobs Cronjob name, schedule, command
cronjobs: []
## @param backend.probes.liveness.path [nullable] Configure path for backend HTTP liveness probe
## @param backend.probes.liveness.targetPort [nullable] Configure port for backend HTTP liveness probe
## @param backend.probes.liveness.initialDelaySeconds [nullable] Configure initial delay for backend liveness probe