Remove blocking helm annotation

This commit is contained in:
paul 2021-01-13 10:25:59 +01:00
parent cb83fa9c30
commit 2892c7afea

View file

@ -5,11 +5,10 @@ metadata:
name: {{ include "mediawiki.fullname" . }} name: {{ include "mediawiki.fullname" . }}
labels: labels:
{{- include "mediawiki.labels" . | nindent 4 }} {{- include "mediawiki.labels" . | nindent 4 }}
{{- if .Values.persistence.annotations }}
annotations: annotations:
"helm.sh/hook": "pre-install"
{{- if .Values.persistence.annotations }}
{{ toYaml .Values.persistence.annotations | indent 4 }} {{ toYaml .Values.persistence.annotations | indent 4 }}
{{- end }} {{- end }}
spec: spec:
accessModes: accessModes:
- {{ .Values.persistence.accessMode | quote }} - {{ .Values.persistence.accessMode | quote }}