--- # 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: provisioner-secret- mountPath: "/etc/ceph-cluster--provisioner-secret" readOnly: true - name: publish-secret- mountPath: "/etc/ceph-cluster--publish-secret" readOnly: true - name: ceph-cluster- mountPath: "/etc/ceph-cluster-/" readOnly: true volumes: - name: provisioner-secret- secret: secretName: ceph-cluster--provisioner-secret - name: publish-secret- secret: secretName: ceph-cluster--publish-secret - name: ceph-cluster- configMap: name: ceph-cluster-