14 lines
352 B
YAML
14 lines
352 B
YAML
|
{{ if semverCompare ">=1.18.0-beta.1" .Capabilities.KubeVersion.Version }}
|
||
|
apiVersion: storage.k8s.io/v1
|
||
|
{{ else }}
|
||
|
apiVersion: storage.k8s.io/v1beta1
|
||
|
{{ end }}
|
||
|
kind: CSIDriver
|
||
|
metadata:
|
||
|
name: {{ required "Provide CSI Driver Name" .Values.csiDriverName }}
|
||
|
spec:
|
||
|
attachRequired: true
|
||
|
podInfoOnMount: true
|
||
|
volumeLifecycleModes:
|
||
|
- Persistent
|