From b128e1643c8ac1acc9a03c508ae5fb9ffb0043f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my?= Date: Tue, 8 Oct 2024 09:24:37 +0000 Subject: [PATCH] Enables annotations for pvcs Signed-off-by: ytsurk --- charts/common/templates/_pvcs.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/common/templates/_pvcs.yaml b/charts/common/templates/_pvcs.yaml index 52994766..7f49b8d2 100644 --- a/charts/common/templates/_pvcs.yaml +++ b/charts/common/templates/_pvcs.yaml @@ -9,6 +9,10 @@ metadata: name: {{ template "library.name" $root }}-{{ .name }} labels: {{ include "library.labels.stable" $root | indent 4 }} +{{- if .annotations }} + annotations: +{{ toYaml .annotations | indent 4 }} +{{- end }} spec: accessModes: {{- if .accessModes }}