Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/scripts/cleanup_cosi_resources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ log_and_run echo "Deleting s3-secret-for-cosi secret..."
log_and_run kubectl delete secret s3-secret-for-cosi --namespace=default || { echo "Secret s3-secret-for-cosi not found." | tee -a "$LOG_FILE"; }

log_and_run echo "Deleting COSI CRD..."
log_and_run kubectl delete -k github.com/kubernetes-sigs/container-object-storage-interface?ref=v0.2.2 || { echo "COSI API CRDs or controller not found." | tee -a "$LOG_FILE"; }
log_and_run kubectl delete -k "github.com/kubernetes-sigs/container-object-storage-interface//?ref=v0.2.2" || { echo "COSI API CRDs or controller not found." | tee -a "$LOG_FILE"; }

log_and_run echo "Verifying COSI CRDs deletion..."
if kubectl get crd | grep 'container-object-storage-interface' &>/dev/null; then
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/setup_cosi_resources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ log_and_run() {

# Step 1: Install COSI CRDs
log_and_run echo "Installing COSI CRD..."
log_and_run kubectl create -k github.com/kubernetes-sigs/container-object-storage-interface?ref=v0.2.2
log_and_run kubectl create -k "github.com/kubernetes-sigs/container-object-storage-interface//?ref=v0.2.2"
log_and_run kubectl get pods --namespace container-object-storage-system

# Step 2: Verify COSI Controller Pod Status
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/helm-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
set -e -o pipefail
(
echo "=== Setup COSI Controller, CRDs and Driver ==="
kubectl create -k github.com/kubernetes-sigs/container-object-storage-interface?ref=v0.2.2
kubectl create -k "github.com/kubernetes-sigs/container-object-storage-interface//?ref=v0.2.2"
make container
kind load docker-image ghcr.io/scality/cosi-driver:latest --name helm-test-cluster
) &
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ To quickly deploy and test the Scality COSI Driver:
2. Create namespace `container-object-storage-system` and install the COSI controller deployment and COSI CRDs. The Scality COSI Driver supports only COSI **v1alpha1** — the command below pins upstream to tag `v0.2.2` (the last v1alpha1 release). Do not install from upstream `main`, which now ships v1alpha2 and is incompatible with this driver.

```bash
kubectl create -k github.com/kubernetes-sigs/container-object-storage-interface?ref=v0.2.2
kubectl create -k "github.com/kubernetes-sigs/container-object-storage-interface//?ref=v0.2.2"
```

3. Deploy the driver: Namespace `container-object-storage-system` will be created in step 2.
Expand Down
2 changes: 1 addition & 1 deletion docs/installation/install-helm.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Its recommended to deploy COSI controller first which creates the `container-obj
The Scality COSI Driver supports only COSI **v1alpha1**. The command below pins the upstream controller and CRDs to tag `v0.2.2` (the last v1alpha1 release) — do not install from upstream `main`, which now ships v1alpha2 and is incompatible with this driver.

```bash
kubectl create -k github.com/kubernetes-sigs/container-object-storage-interface?ref=v0.2.2
kubectl create -k "github.com/kubernetes-sigs/container-object-storage-interface//?ref=v0.2.2"
```


Expand Down
Loading