From 6c2665f1cf22ddb48b57cacc464f9d00740e2914 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 --- 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 }}