diff --git a/freeipa/templates/pvc.yaml b/freeipa/templates/pvc.yaml index 6b7b8dc..6a2b730 100644 --- a/freeipa/templates/pvc.yaml +++ b/freeipa/templates/pvc.yaml @@ -5,7 +5,9 @@ metadata: spec: accessModes: - ReadWriteOnce - storageClassName: default + {{- if .Values.storageClassName }} + storageClassName: {{ .Values.storageClassName }} + {{- end }} resources: requests: storage: {{ .Values.volumestorage }} diff --git a/freeipa/values.yaml b/freeipa/values.yaml index e68cc53..1a8e788 100644 --- a/freeipa/values.yaml +++ b/freeipa/values.yaml @@ -24,7 +24,7 @@ args: allowzoneoverlap: true # if setup dns is true thiw will be applicable sshtrustdns: false -volumestorage: 1Gi +volumestorage: 1Gi imagePullSecrets: [] nameOverride: ""