mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-10 00:10:20 +00:00
3505731c42
This replaces the deprecated `GitVersion` with `Version`.
See a499b4b179/pkg/chartutil/capabilities.go (L71-L74)
Signed-off-by: Matthias Neugebauer <matthias.neugebauer@uni-muenster.de>
12 lines
263 B
YAML
12 lines
263 B
YAML
{{ if semverCompare ">=1.18" .Capabilities.KubeVersion.Version }}
|
|
apiVersion: storage.k8s.io/v1
|
|
{{ else }}
|
|
apiVersion: storage.k8s.io/betav1
|
|
{{ end }}
|
|
kind: CSIDriver
|
|
metadata:
|
|
name: {{ .Values.driverName }}
|
|
spec:
|
|
attachRequired: true
|
|
podInfoOnMount: false
|