add missing annotations for PVCs in vanilla helm chart (#14793)

This commit is contained in:
Domonkos Cinke 2022-05-04 19:02:55 +02:00 committed by GitHub
parent 2fc65dcb99
commit bcdaa09c75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,10 @@ metadata:
chart: {{ template "minio.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
{{- if .Values.persistence.annotations }}
annotations:
{{ toYaml .Values.persistence.annotations | trimSuffix "\n" | indent 4 }}
{{- end }}
spec:
accessModes:
- {{ .Values.persistence.accessMode | quote }}