Skip to content

Commit

Permalink
helm hooks are now being deleted after 60s
Browse files Browse the repository at this point in the history
  • Loading branch information
wpernath committed Feb 12, 2022
1 parent 264d4b6 commit 5888379
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions better-helm/templates/another-hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ metadata:
labels:
app.kubernetes.io/part-of: {{ .Release.Name }}-chart
spec:
ttlSecondsAfterFinished: 60
template:
metadata:
name: {{ .Chart.Name | quote }}
Expand Down
1 change: 1 addition & 0 deletions helm-chart/templates/post-install-hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ metadata:
"helm.sh/hook-weight": "-5"
"helm.sh/hook-delete-policy": before-hook-creation
spec:
ttlSecondsAfterFinished: 60
template:
metadata:
name: {{ .Chart.Name }}
Expand Down

0 comments on commit 5888379

Please sign in to comment.