Files
dsk-devops-toolchains/helm/openebs/charts/cstor/templates/csi-driver.yaml
2024-01-03 17:29:11 +09:00

16 lines
555 B
YAML

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