From 9bec039276d8292e973f03cbb0c9d8529ad082dc Mon Sep 17 00:00:00 2001 From: Tomy Guichard Date: Wed, 23 Jul 2025 19:41:00 +0200 Subject: [PATCH] docs: add note about CRDs upgrade --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 6790e8f..a5517d3 100644 --- a/README.md +++ b/README.md @@ -99,6 +99,10 @@ Some examples are available [here](./examples/kubernetes). These steps will cover how to install the Scaleway CSI driver in your Kubernetes cluster, using Helm. +> [!WARNING] +> You should NOT install the Scaleway Block Volume CSI driver in a **Scaleway Kubernetes +> managed cluster (Kapsule / Kosmos)** as it is already installed and configured automatically. + #### Requirements - A Kubernetes cluster running on Scaleway instances (v1.20+) @@ -140,6 +144,16 @@ cluster, using Helm. You should see the scaleway-csi-controller and the scaleway-csi-node pods. +> [!IMPORTANT] +> When upgrading an existing installation, you MUST upgrade CRDs before calling helm upgrade command. +> CRDs are not updated by Helm. See [HIP-0011](https://github.com/helm/community/blob/main/hips/hip-0011.md) for details. +> +> ```bash +> helm repo update +> helm show crds scaleway/scaleway-csi | kubectl apply --server-side --force-conflicts -f - +> helm upgrade --namespace kube-system --reuse-values scaleway-csi scaleway/scaleway-csi +> ``` + ## Development ### Build