From 2892c7afeac459b5f1cb234c9886f38fab8c7984 Mon Sep 17 00:00:00 2001 From: Paul Date: Wed, 13 Jan 2021 10:25:59 +0100 Subject: [PATCH] Remove blocking helm annotation --- zombi/mediawiki/templates/pvc.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/zombi/mediawiki/templates/pvc.yaml b/zombi/mediawiki/templates/pvc.yaml index 33a66ee..5b78c8a 100644 --- a/zombi/mediawiki/templates/pvc.yaml +++ b/zombi/mediawiki/templates/pvc.yaml @@ -5,11 +5,10 @@ metadata: name: {{ include "mediawiki.fullname" . }} labels: {{- include "mediawiki.labels" . | nindent 4 }} + {{- if .Values.persistence.annotations }} annotations: - "helm.sh/hook": "pre-install" - {{- if .Values.persistence.annotations }} {{ toYaml .Values.persistence.annotations | indent 4 }} - {{- end }} + {{- end }} spec: accessModes: - {{ .Values.persistence.accessMode | quote }}