From ada0b781db4ba54d60a327d7427410f45bc116fe Mon Sep 17 00:00:00 2001 From: korallo159 <53827110+korallo159@users.noreply.github.com> Date: Wed, 9 Oct 2024 16:17:46 +0200 Subject: [PATCH] Allow specify storage class name for pvc --- charts/security-center/templates/pvc.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/security-center/templates/pvc.yaml b/charts/security-center/templates/pvc.yaml index 5a1de46..46fde9e 100644 --- a/charts/security-center/templates/pvc.yaml +++ b/charts/security-center/templates/pvc.yaml @@ -9,3 +9,6 @@ spec: resources: requests: storage: {{ .Values.persistentVolumeClaim.size }} + {{- if .Values.persistentVolumeClaim.storageClassName }} + storageClassName: {{ .Values.persistentVolumeClaim.storageClassName }} + {{- end }}