mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-26 08:10:20 +00:00
Add csidriver CRD
if attacher is not enabled, we need to create the csidriver CRD with spec to make attachRequired as false to skip volume attach check in kube. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
e4d830a2c2
commit
3767375b6a
10
deploy/cephfs/helm/templates/csidriver-crd.yaml
Normal file
10
deploy/cephfs/helm/templates/csidriver-crd.yaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
{{ if not .Values.attacher.enabled }}
|
||||||
|
apiVersion: storage.k8s.io/v1beta1
|
||||||
|
kind: CSIDriver
|
||||||
|
metadata:
|
||||||
|
name: {{ .Values.driverName }}
|
||||||
|
spec:
|
||||||
|
attachRequired: false
|
||||||
|
podInfoOnMount: false
|
||||||
|
{{ end }}
|
10
deploy/rbd/helm/templates/csidriver-crd.yaml
Normal file
10
deploy/rbd/helm/templates/csidriver-crd.yaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
{{ if not .Values.attacher.enabled }}
|
||||||
|
apiVersion: storage.k8s.io/v1beta1
|
||||||
|
kind: CSIDriver
|
||||||
|
metadata:
|
||||||
|
name: {{ .Values.driverName }}
|
||||||
|
spec:
|
||||||
|
attachRequired: false
|
||||||
|
podInfoOnMount: false
|
||||||
|
{{ end }}
|
Loading…
Reference in New Issue
Block a user