]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rbd/rbd-kubernetes: add ceph.conf configmap 43282/head
authorMadhu Rajanna <madhupr007@gmail.com>
Thu, 23 Sep 2021 09:42:40 +0000 (15:12 +0530)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 24 Sep 2021 14:44:46 +0000 (16:44 +0200)
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
doc/rbd/rbd-kubernetes.rst

index 1be9a0f1335916d5f4ce292be31b74fc996c74de..ccec4813a3ab20ff80ecd3cfb0d0245076139c13 100644 (file)
@@ -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 <<EOF > 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`
 ----------------------------------