From bcdaa09c7558d324e5b936b9e7c710cf8776d1b3 Mon Sep 17 00:00:00 2001 From: Domonkos Cinke Date: Wed, 4 May 2022 19:02:55 +0200 Subject: [PATCH] add missing annotations for PVCs in vanilla helm chart (#14793) --- helm/minio/templates/pvc.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/helm/minio/templates/pvc.yaml b/helm/minio/templates/pvc.yaml index 84568e76f..369aade41 100644 --- a/helm/minio/templates/pvc.yaml +++ b/helm/minio/templates/pvc.yaml @@ -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 }}