From: Madhu Rajanna Date: Thu, 23 Sep 2021 09:42:40 +0000 (+0530) Subject: doc/rbd/rbd-kubernetes: add ceph.conf configmap X-Git-Tag: v17.1.0~813^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F43282%2Fhead;p=ceph.git doc/rbd/rbd-kubernetes: add ceph.conf configmap Signed-off-by: Madhu Rajanna --- diff --git a/doc/rbd/rbd-kubernetes.rst b/doc/rbd/rbd-kubernetes.rst index 1be9a0f13359..ccec4813a3ab 100644 --- a/doc/rbd/rbd-kubernetes.rst +++ b/doc/rbd/rbd-kubernetes.rst @@ -134,6 +134,29 @@ Once generated, store the new `ConfigMap` object in Kubernetes:: $ kubectl apply -f csi-kms-config-map.yaml +Recent versions of `ceph-csi` also require yet another `ConfigMap` object +to define Ceph configuration to add to ceph.conf file inside CSI containers:: + + $ cat < ceph-config-map.yaml + --- + apiVersion: v1 + kind: ConfigMap + data: + ceph.conf: | + [global] + auth_cluster_required = cephx + auth_service_required = cephx + auth_client_required = cephx + # keyring is a required key and its value should be empty + keyring: | + metadata: + name: ceph-config + EOF + +Once generated, store the new `ConfigMap` object in Kubernetes:: + + $ kubectl apply -f ceph-config-map.yaml + Generate `ceph-csi` cephx `Secret` ----------------------------------