mirror of
https://github.com/element-hq/ess-helm.git
synced 2026-11-21 17:41:44 -08:00
update comment about hook weights in syn2mas
This commit is contained in:
3 files changed
+14
-9
No files matched your search
@@ -36,15 +36,20 @@ metadata:
|
||||
) }}
|
||||
annotations:
|
||||
{{- if .dryRun }}
|
||||
{{- /*
|
||||
Hook Weights are
|
||||
- -25 : The syn2mas dryRun job, running after MAS pod which initialized its DB
|
||||
- 0 : The deployment marker job, we want it not to update any marker if the dryRun is not completed
|
||||
*/}}
|
||||
"helm.sh/hook": post-install,post-upgrade
|
||||
"helm.sh/hook-weight": "-25"
|
||||
{{- else }}
|
||||
"helm.sh/hook": pre-install,pre-upgrade
|
||||
{{- /*
|
||||
Hook Weights are
|
||||
- -10 : The initSecret hook generating secrets used by the check config job
|
||||
- -5 : The synapse secret & configMap for the hook, so that they are created before the job
|
||||
- 0 : The job itself, so that it is run after the secrets and configs are created &
|
||||
- -10 : The initSecret hook generating secrets used by the syn2mas job
|
||||
- -5 : The MAS & synapse secret & configMap for the hook, so that they are created before the job
|
||||
- 0 : The job itself, so that it is run after the secrets and configs are created
|
||||
*/}}
|
||||
"helm.sh/hook-weight": "0"
|
||||
{{- end }}
|
||||
|
||||
@@ -17,9 +17,9 @@ metadata:
|
||||
"helm.sh/hook": pre-install,pre-upgrade
|
||||
{{- /*
|
||||
Hook Weights are
|
||||
- -10 : The initSecret hook generating secrets used by the check config job
|
||||
- -5 : The synapse secret & configMap for the hook, so that they are created before the job
|
||||
- 0 : The job itself, so that it is run after the secrets and configs are created &
|
||||
- -10 : The initSecret hook generating secrets used by the syn2mas job
|
||||
- -5 : The MAS & synapse secret & configMap for the hook, so that they are created before the job
|
||||
- 0 : The job itself, so that it is run after the secrets and configs are created
|
||||
*/}}
|
||||
"helm.sh/hook-weight": "0"
|
||||
rules:
|
||||
|
||||
+3
-3
@@ -18,9 +18,9 @@ metadata:
|
||||
"helm.sh/hook": pre-install,pre-upgrade
|
||||
{{- /*
|
||||
Hook Weights are
|
||||
- -10 : The initSecret hook generating secrets used by the check config job
|
||||
- -5 : The synapse secret & configMap for the hook, so that they are created before the job
|
||||
- 0 : The job itself, so that it is run after the secrets and configs are created &
|
||||
- -10 : The initSecret hook generating secrets used by the syn2mas job
|
||||
- -5 : The MAS & synapse secret & configMap for the hook, so that they are created before the job
|
||||
- 0 : The job itself, so that it is run after the secrets and configs are created
|
||||
*/}}
|
||||
"helm.sh/hook-weight": "0"
|
||||
roleRef:
|
||||
|
||||
Reference in new issue
Block a user