--- # This is a patch to the existing statefulset deployment of CSI rbdplugin. # This is to be used when adding a new Ceph cluster to the CSI plugin. # NOTE: Update csi-rbdplugin DaemonSet as well with similar patch # Post substituting the in all places execute, # `kubectl patch statefulset csi-rbdplugin-provisioner --patch\ # "$(cat template-csi-rbdplugin-provisioner-patch.yaml)"` # to patch the statefulset deployment. spec: template: spec: containers: - name: csi-rbdplugin volumeMounts: - name: ceph-cluster- mountPath: "/etc/csi-config/ceph-cluster-" readOnly: true volumes: - name: ceph-cluster- secret: secretName: ceph-cluster-