Skip to content

Commit

Permalink
Merge pull request #1368 from SUSE/fix-pvc-leak
Browse files Browse the repository at this point in the history
Fix leak of Persistent volume claims when deleting Helm deployed release
  • Loading branch information
nwmac authored Nov 9, 2017
2 parents f0ce28c + ae297f5 commit 4ac30a1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deploy/kubernetes/console/templates/pre-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ metadata:
{{- else }}
volume.alpha.kubernetes.io/storage-class: default
{{- end }}
{{- if not .Values.noShared }}
"helm.sh/hook": pre-install
"helm.sh/hook-weight": "-1"
{{- end }}
spec:
accessModes:
{{- if .Values.noShared }}
Expand Down Expand Up @@ -65,8 +67,10 @@ metadata:
{{- else }}
volume.alpha.kubernetes.io/storage-class: default
{{- end }}
{{- if not .Values.noShared }}
"helm.sh/hook": pre-install
"helm.sh/hook-weight": "-1"
{{- end }}
spec:
accessModes:
{{- if .Values.noShared }}
Expand Down

0 comments on commit 4ac30a1

Please sign in to comment.