feat: Define cron jobs running mgmt commands in Helm chart #440
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #431.
Two cron jobs:
The PR defines two cron jobs, one hourly the other weekly.
https://docs.wagtail.org/en/stable/reference/management_commands.html
publish_scheduled
:update_index
:With the current spec, the daily job runs every hour at minute 0, and the weekly job runs on Sunday at 00:30 UTC. Note that the weekly database maintenance window currently occurs on Saturdays UTC, and will no overlap with the weekly cron job.
Verifying
helm install
output:With
tag
set to the latest image tag,v2.1.10
,helm install www helm --dry-run
outputs as below.