mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-24 05:50:22 +00:00
3767375b6a
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>
11 lines
200 B
YAML
11 lines
200 B
YAML
---
|
|
{{ if not .Values.attacher.enabled }}
|
|
apiVersion: storage.k8s.io/v1beta1
|
|
kind: CSIDriver
|
|
metadata:
|
|
name: {{ .Values.driverName }}
|
|
spec:
|
|
attachRequired: false
|
|
podInfoOnMount: false
|
|
{{ end }}
|