2020-04-23 13:52:01 +00:00
|
|
|
apiVersion: storage.k8s.io/v1beta1
|
|
|
|
kind: CSIDriver
|
|
|
|
metadata:
|
2020-08-14 20:54:55 +00:00
|
|
|
name: {{ .Values.provisionerName }}
|
2020-04-23 13:52:01 +00:00
|
|
|
spec:
|
|
|
|
attachRequired: false
|
|
|
|
podInfoOnMount: true
|
2020-04-28 13:22:20 +00:00
|
|
|
{{- if semverCompare ">=1.16" .Capabilities.KubeVersion.Version }}
|
2020-04-23 13:52:01 +00:00
|
|
|
volumeLifecycleModes:
|
|
|
|
- Persistent
|
2020-04-28 13:22:20 +00:00
|
|
|
{{- end }}
|