Skip to content

Commit c487e4b

Browse files
committed
prevent delete hook on fail
1 parent 1f32a3d commit c487e4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/hooks/database_pre_upgrade.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ metadata:
1212
# job is considered part of the release.
1313
"helm.sh/hook": pre-upgrade
1414
"helm.sh/hook-weight": "2"
15-
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
15+
"helm.sh/hook-delete-policy": hook-succeeded
1616
spec:
1717
template:
1818
metadata:

0 commit comments

Comments
 (0)