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 }}