oncall-engine/helm/oncall/templates/engine
Matthias Teich 1bd157f7f3
Fix helm hook for migration job (#1789)
# What this PR does
This PR fixes the migration job when using helm hooks.
## Which issue(s) this PR fixes
Currently when enabling the useHooks option in the helm chart there is a
deadlock as the hook is defined as "post-upgrade, post-install". In this
case the database migration will only be executed when all other pods
are ready. This will not happen as the pods are waiting for the database
migration. So we need to use "pre-install, preupgrade" instead of
"post-install,post-upgrade"

## Checklist

- [ ] Unit, integration, and e2e (if applicable) tests updated
- [ ] Documentation added (or `pr:no public docs` PR label added if not
required)
- [ x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if
not required)

Co-authored-by: Ildar Iskhakov <Ildar.iskhakov@grafana.com>
2023-04-20 05:39:53 +00:00
..
_helpers-engine.tpl Merge dev to main (#73) 2022-06-14 09:54:41 -06:00
deployment.yaml Helm: define engine update strategy in values.yaml (#985) 2022-12-20 13:59:19 +01:00
job-migrate.yaml Fix helm hook for migration job (#1789) 2023-04-20 05:39:53 +00:00
service-external.yaml Add new ci pipeline: helm chart end to end testing (#855) 2022-11-21 16:10:25 +01:00
service-internal.yaml Merge dev to main (#73) 2022-06-14 09:54:41 -06:00