mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-23 05:20:19 +00:00
fba6a2d0c3
csidriver object can be created on the kubernetes for below reason. If a CSI driver creates a CSIDriver object, Kubernetes users can easily discover the CSI Drivers installed on their cluster (simply by issuing kubectl get CSIDriver) Ref: https://kubernetes-csi.github.io/docs/csi-driver-object.html#what-is-the-csidriver-object attachRequired is always required to be set to true to avoid issue on RWO PVC. more details about it at https://github.com/rook/rook/pull/4332 Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
11 lines
227 B
YAML
11 lines
227 B
YAML
---
|
|
# if Kubernetes version is less than 1.18 change
|
|
# apiVersion to storage.k8s.io/v1betav1
|
|
apiVersion: storage.k8s.io/v1
|
|
kind: CSIDriver
|
|
metadata:
|
|
name: rbd.csi.ceph.com
|
|
spec:
|
|
attachRequired: true
|
|
podInfoOnMount: false
|