mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 14:20:19 +00:00
75b9b9fe6d
This change resolves a typo for installing the CSIDriver resource in Kubernetes clusters before 1.18, where the apiVersion is incorrect. See also: https://kubernetes-csi.github.io/docs/csi-driver-object.html [ndevos: replace v1betav1 in examples with v1beta1] Signed-off-by: Thomas Kooi <t.j.kooi@avisi.nl>
11 lines
229 B
YAML
11 lines
229 B
YAML
---
|
|
# if Kubernetes version is less than 1.18 change
|
|
# apiVersion to storage.k8s.io/v1beta1
|
|
apiVersion: storage.k8s.io/v1
|
|
kind: CSIDriver
|
|
metadata:
|
|
name: cephfs.csi.ceph.com
|
|
spec:
|
|
attachRequired: true
|
|
podInfoOnMount: false
|