rancher-partner-charts/charts/weka/csi-wekafsplugin/templates/driver.yaml

14 lines
352 B
YAML
Raw Normal View History

{{ if semverCompare ">=1.18.0-beta.1" .Capabilities.KubeVersion.Version }}
2021-08-18 20:17:25 +00:00
apiVersion: storage.k8s.io/v1
{{ else }}
apiVersion: storage.k8s.io/v1beta1
{{ end }}
2021-08-18 20:17:25 +00:00
kind: CSIDriver
metadata:
name: {{ required "Provide CSI Driver Name" .Values.csiDriverName }}
spec:
attachRequired: true
podInfoOnMount: true
volumeLifecycleModes:
- Persistent