mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/sentry] delete hooks on success or before running again (#12144)
This will cleanup the db init and user create job if they succeed. It will also delete them if the install fails and you run install again, that way new db init and user create jobs will run again. Signed-off-by: Todd Brown <mrbrownt@me.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
b25b00903b
commit
0afeb26601
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
description: Sentry is a cross-platform crash reporting and aggregation platform.
|
||||
name: sentry
|
||||
version: 1.3.3
|
||||
version: 1.3.4
|
||||
appVersion: 9.0
|
||||
keywords:
|
||||
- debugging
|
||||
|
||||
@@ -12,6 +12,7 @@ metadata:
|
||||
# This is what defines this resource as a hook. Without this line, the
|
||||
# job is considered part of the release.
|
||||
"helm.sh/hook": post-install
|
||||
"helm.sh/hook-delete-policy": "hook-succeeded,before-hook-creation"
|
||||
"helm.sh/hook-weight": "-5"
|
||||
spec:
|
||||
template:
|
||||
|
||||
@@ -12,6 +12,7 @@ metadata:
|
||||
# This is what defines this resource as a hook. Without this line, the
|
||||
# job is considered part of the release.
|
||||
"helm.sh/hook": post-install
|
||||
"helm.sh/hook-delete-policy": "hook-succeeded,before-hook-creation"
|
||||
"helm.sh/hook-weight": "5"
|
||||
spec:
|
||||
template:
|
||||
|
||||
Reference in New Issue
Block a user