File tree Expand file tree Collapse file tree
charts/matrix-stack/templates/matrix-authentication-service Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,14 +36,19 @@ metadata:
3636 ) }}
3737 annotations :
3838{{- if .dryRun }}
39+ {{- /*
40+ Hook Weights are
41+ - -25 : The syn2mas dryRun job, running after MAS pod which initialized its DB
42+ - 0 : The deployment marker job, we want it not to update any marker if the dryRun is not completed
43+ */}}
3944 " helm.sh/hook " : post-install,post-upgrade
4045 " helm.sh/hook-weight " : " -25"
4146{{- else }}
4247 " helm.sh/hook " : pre-install,pre-upgrade
4348{{- /*
4449Hook Weights are
45- - -10 : The initSecret hook generating secrets used by the check config job
46- - -5 : The synapse secret & configMap for the hook, so that they are created before the job
50+ - -10 : The initSecret hook generating secrets used by the syn2mas job
51+ - -5 : The MAS & synapse secret & configMap for the hook, so that they are created before the job
4752- 0 : The job itself, so that it is run after the secrets and configs are created &
4853*/}}
4954 " helm.sh/hook-weight " : " 0"
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ metadata:
1717 " helm.sh/hook " : pre-install,pre-upgrade
1818{{- /*
1919Hook Weights are
20- - -10 : The initSecret hook generating secrets used by the check config job
21- - -5 : The synapse secret & configMap for the hook, so that they are created before the job
20+ - -10 : The initSecret hook generating secrets used by the syn2mas job
21+ - -5 : The MAS & synapse secret & configMap for the hook, so that they are created before the job
2222- 0 : The job itself, so that it is run after the secrets and configs are created &
2323*/}}
2424 " helm.sh/hook-weight " : " 0"
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ metadata:
1818 " helm.sh/hook " : pre-install,pre-upgrade
1919{{- /*
2020Hook Weights are
21- - -10 : The initSecret hook generating secrets used by the check config job
22- - -5 : The synapse secret & configMap for the hook, so that they are created before the job
21+ - -10 : The initSecret hook generating secrets used by the syn2mas job
22+ - -5 : The MAS & synapse secret & configMap for the hook, so that they are created before the job
2323- 0 : The job itself, so that it is run after the secrets and configs are created &
2424*/}}
2525 " helm.sh/hook-weight " : " 0"
You can’t perform that action at this time.
0 commit comments