Mohammed Naser | 9ad0d46 | 2023-01-15 20:36:37 -0500 | [diff] [blame] | 1 | {{ if semverCompare ">=1.18.0-beta.1" .Capabilities.KubeVersion.Version }} |
2 | apiVersion: storage.k8s.io/v1 | ||||
3 | {{ else }} | ||||
4 | apiVersion: storage.k8s.io/v1beta1 | ||||
5 | {{ end }} | ||||
6 | kind: CSIDriver | ||||
7 | metadata: | ||||
8 | name: {{ .Values.driverName }} | ||||
9 | spec: | ||||
10 | attachRequired: true | ||||
11 | podInfoOnMount: false |