From b8c9bf4a1ce7a1c9b91ed3b0e0d11e1e2d050920 Mon Sep 17 00:00:00 2001 From: "Jakub P." Date: Tue, 15 Oct 2024 17:47:59 +0200 Subject: [PATCH] Add storageLabels value to tenant chart (#2335) --- helm/tenant/templates/tenant.yaml | 3 +++ helm/tenant/values.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/helm/tenant/templates/tenant.yaml b/helm/tenant/templates/tenant.yaml index 4860698f12b..f55a26150f0 100644 --- a/helm/tenant/templates/tenant.yaml +++ b/helm/tenant/templates/tenant.yaml @@ -41,6 +41,9 @@ spec: name: data {{- with (dig "storageAnnotations" (dict) .) }} annotations: {{- toYaml . | nindent 12 }} + {{- end }} + {{- with (dig "storageLabels" (dict) .) }} + labels: {{- toYaml . | nindent 12 }} {{- end }} spec: {{- if dig "storageClassName" "" . }} diff --git a/helm/tenant/values.yaml b/helm/tenant/values.yaml index 62ad7d0d838..1572081c615 100644 --- a/helm/tenant/values.yaml +++ b/helm/tenant/values.yaml @@ -115,6 +115,9 @@ tenant: # Specify `storageAnnotations `__ to associate to PVCs. storageAnnotations: { } ### + # Specify `storageLabels `__ to associate to PVCs. + storageLabels: { } + ### # Specify `annotations `__ to associate to Tenant pods. annotations: { } ###