mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-17 20:00:23 +00:00
fc0cf957be
- Updated instances of fsid with clusterid - Updated instances of credentials/subject with user/key Signed-off-by: ShyamsundarR <srangana@redhat.com>
31 lines
1.1 KiB
YAML
31 lines
1.1 KiB
YAML
---
|
|
# This is a patch to the existing statefulset deployment of CSI rbdplugin.
|
|
#
|
|
# This is to be used when using `clusterID` instead of monitors or
|
|
# monValueFromSecret in the StorageClass to specify the Ceph cluster to
|
|
# provision storage from, AND when the value of `--configroot` option to the
|
|
# CSI pods is NOT "k8s_objects".
|
|
#
|
|
# This patch file, patches in the specified secret for the 'clusterID' as a
|
|
# volume, instead of the Ceph CSI plugin actively fetching and using kubernetes
|
|
# secrets.
|
|
#
|
|
# NOTE: Update csi-rbdplugin DaemonSet as well with similar patch
|
|
# Post substituting the <cluster-id> 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-<cluster-id>
|
|
mountPath: "/etc/csi-config/ceph-cluster-<cluster-id>"
|
|
readOnly: true
|
|
volumes:
|
|
- name: ceph-cluster-<cluster-id>
|
|
secret:
|
|
secretName: ceph-cluster-<cluster-id>
|