{{- if .Values.csiDriver.create -}} apiVersion: storage.k8s.io/v1 kind: CSIDriver metadata: name: cstor.csi.openebs.io spec: # Supports persistent inline volumes. volumeLifecycleModes: - Persistent # Not yet supported but added just to support upgrade control plane seamlessly - Ephemeral # To determine at runtime which mode a volume uses, pod info and its # "csi.storage.k8s.io/ephemeral" entry are needed. podInfoOnMount: {{ .Values.csiDriver.podInfoOnMount }} attachRequired: {{ .Values.csiDriver.attachRequired }} {{- end }}