From 17bcdc109809b140b2f0f08041e279f666bde776 Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Tue, 2 Jul 2024 17:36:24 +0200 Subject: [PATCH] csi: update csi-addons repo link updating csi-addons repo link to pull the yamls for installation closes: #14394 Signed-off-by: Madhu Rajanna (cherry picked from commit 266fd49c0293f97ee2d7df48134a283b4e5e8820) --- .../Block-Storage-RBD/block-storage.md | 13 +------------ .../Ceph-CSI/ceph-csi-drivers.md | 6 +++--- 2 files changed, 4 insertions(+), 15 deletions(-) diff --git a/Documentation/Storage-Configuration/Block-Storage-RBD/block-storage.md b/Documentation/Storage-Configuration/Block-Storage-RBD/block-storage.md index 5ce95ead3..7b311479b 100644 --- a/Documentation/Storage-Configuration/Block-Storage-RBD/block-storage.md +++ b/Documentation/Storage-Configuration/Block-Storage-RBD/block-storage.md @@ -201,19 +201,8 @@ If a node goes down where a pod is running where a RBD RWO volume is mounted, th ### Configure CSI-Addons -Deploy the csi-addons manifests: +Deploy csi-addons controller and enable `csi-addons` sidecar as mentioned in the [CSI Addons](../Ceph-CSI/ceph-csi-drivers#CSI-Addons-Controller) guide. -```console -kubectl create -f https://raw.githubusercontent.com/csi-addons/kubernetes-csi-addons/v0.8.0/deploy/controller/crds.yaml -kubectl create -f https://raw.githubusercontent.com/csi-addons/kubernetes-csi-addons/v0.8.0/deploy/controller/rbac.yaml -kubectl create -f https://raw.githubusercontent.com/csi-addons/kubernetes-csi-addons/v0.8.0/deploy/controller/setup-controller.yaml -``` - -Enable the `csi-addons` sidecar in the Rook operator configuration. - -```console -kubectl patch cm rook-ceph-operator-config -n -p $'data:\n "CSI_ENABLE_CSIADDONS": "true"' -``` ### Handling Node Loss diff --git a/Documentation/Storage-Configuration/Ceph-CSI/ceph-csi-drivers.md b/Documentation/Storage-Configuration/Ceph-CSI/ceph-csi-drivers.md index 89b24a4bd..397d9b469 100644 --- a/Documentation/Storage-Configuration/Ceph-CSI/ceph-csi-drivers.md +++ b/Documentation/Storage-Configuration/Ceph-CSI/ceph-csi-drivers.md @@ -179,9 +179,9 @@ that the controller inspects and forwards to one or more CSI-Addons sidecars for Deploy the controller by running the following commands: ```console -kubectl create -f https://raw.githubusercontent.com/csi-addons/kubernetes-csi-addons/v0.8.0/deploy/controller/crds.yaml -kubectl create -f https://raw.githubusercontent.com/csi-addons/kubernetes-csi-addons/v0.8.0/deploy/controller/rbac.yaml -kubectl create -f https://raw.githubusercontent.com/csi-addons/kubernetes-csi-addons/v0.8.0/deploy/controller/setup-controller.yaml +kubectl create -f https://github.com/csi-addons/kubernetes-csi-addons/releases/download/v0.8.0/crds.yaml +kubectl create -f https://github.com/csi-addons/kubernetes-csi-addons/releases/download/v0.8.0/rbac.yaml +kubectl create -f https://github.com/csi-addons/kubernetes-csi-addons/releases/download/v0.8.0/setup-controller.yaml ``` This creates the required CRDs and configures permissions.