Skip to content

Commit 9bec039

Browse files
committed
docs: add note about CRDs upgrade
1 parent 6430012 commit 9bec039

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ Some examples are available [here](./examples/kubernetes).
9999
These steps will cover how to install the Scaleway CSI driver in your Kubernetes
100100
cluster, using Helm.
101101
102+
> [!WARNING]
103+
> You should NOT install the Scaleway Block Volume CSI driver in a **Scaleway Kubernetes
104+
> managed cluster (Kapsule / Kosmos)** as it is already installed and configured automatically.
105+
102106
#### Requirements
103107
104108
- A Kubernetes cluster running on Scaleway instances (v1.20+)
@@ -140,6 +144,16 @@ cluster, using Helm.
140144

141145
You should see the scaleway-csi-controller and the scaleway-csi-node pods.
142146

147+
> [!IMPORTANT]
148+
> When upgrading an existing installation, you MUST upgrade CRDs before calling helm upgrade command.
149+
> CRDs are not updated by Helm. See [HIP-0011](https://github.com/helm/community/blob/main/hips/hip-0011.md) for details.
150+
>
151+
> ```bash
152+
> helm repo update
153+
> helm show crds scaleway/scaleway-csi | kubectl apply --server-side --force-conflicts -f -
154+
> helm upgrade --namespace kube-system --reuse-values scaleway-csi scaleway/scaleway-csi
155+
> ```
156+
143157
## Development
144158

145159
### Build

0 commit comments

Comments
 (0)