Skip to content

Commit e25f56c

Browse files
committed
Adjust hook weights for mysql tests
Signed-off-by: Nikolai Rodionov <iam@allanger.xyz>
1 parent 906e396 commit e25f56c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ci/charts/db-operator-mysql-test/templates/mysql-test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ metadata:
103103
{{- if .Values.cleanup }}
104104
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
105105
{{- end }}
106-
"helm.sh/hook-weight": "2"
106+
"helm.sh/hook-weight": "3"
107107
spec:
108108
secretName: {{ template "db-operator-mysql-test.name" . }}-mysql-credentials # where to save db name user, password for application
109109
instance: {{ template "db-operator-mysql-test.name" . }}-mysql
@@ -127,7 +127,7 @@ metadata:
127127
{{- if .Values.cleanup }}
128128
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
129129
{{- end }}
130-
"helm.sh/hook-weight": "3"
130+
"helm.sh/hook-weight": "4"
131131
data:
132132
write.sh: |
133133
{{ .Files.Get "scripts/test_write.sh" | indent 4}}
@@ -146,7 +146,7 @@ metadata:
146146
{{- if .Values.cleanup }}
147147
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
148148
{{- end }}
149-
"helm.sh/hook-weight": "4"
149+
"helm.sh/hook-weight": "5"
150150
spec:
151151
containers:
152152
- name: mysql-writer

0 commit comments

Comments
 (0)