From 75a385e1871b3ee89a98d309baaa56facd4a0ace Mon Sep 17 00:00:00 2001 From: Travis Nielsen Date: Wed, 9 Mar 2022 08:18:27 -0700 Subject: [PATCH] csi: update volume replication to v0.3.0 Update to the latest volume replication crd version of v0.3.0 Signed-off-by: Travis Nielsen --- Documentation/ceph-csi-drivers.md | 4 ++-- Documentation/rbd-mirroring.md | 4 ++-- build/crds/build-crds.sh | 2 +- tests/framework/installer/ceph_installer.go | 2 +- tests/scripts/github-action-helper.sh | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Documentation/ceph-csi-drivers.md b/Documentation/ceph-csi-drivers.md index 75c733864..91b2a6f2a 100644 --- a/Documentation/ceph-csi-drivers.md +++ b/Documentation/ceph-csi-drivers.md @@ -89,8 +89,8 @@ Kubernetes version 1.21 or greater is required. 1. Install the volume replication CRDs: ```console -kubectl create -f https://raw.githubusercontent.com/csi-addons/volume-replication-operator/v0.1.0/config/crd/bases/replication.storage.openshift.io_volumereplications.yaml -kubectl create -f https://raw.githubusercontent.com/csi-addons/volume-replication-operator/v0.1.0/config/crd/bases/replication.storage.openshift.io_volumereplicationclasses.yaml +kubectl create -f https://raw.githubusercontent.com/csi-addons/volume-replication-operator/v0.3.0/config/crd/bases/replication.storage.openshift.io_volumereplications.yaml +kubectl create -f https://raw.githubusercontent.com/csi-addons/volume-replication-operator/v0.3.0/config/crd/bases/replication.storage.openshift.io_volumereplicationclasses.yaml ``` 2. Enable the volume replication controller: diff --git a/Documentation/rbd-mirroring.md b/Documentation/rbd-mirroring.md index 1e1c3ba3b..b43da2d6d 100644 --- a/Documentation/rbd-mirroring.md +++ b/Documentation/rbd-mirroring.md @@ -188,9 +188,9 @@ APIs for storage disaster recovery. The extended APIs are provided via Custom Resource Definition(CRD). Create the VolumeReplication CRDs on all the peer clusters. ```bash -$ kubectl create -f https://raw.githubusercontent.com/csi-addons/volume-replication-operator/v0.1.0/config/crd/bases/replication.storage.openshift.io_volumereplications.yaml +$ kubectl create -f https://raw.githubusercontent.com/csi-addons/volume-replication-operator/v0.3.0/config/crd/bases/replication.storage.openshift.io_volumereplications.yaml -$ kubectl create -f https://raw.githubusercontent.com/csi-addons/volume-replication-operator/v0.1.0/config/crd/bases/replication.storage.openshift.io_volumereplicationclasses.yaml +$ kubectl create -f https://raw.githubusercontent.com/csi-addons/volume-replication-operator/v0.3.0/config/crd/bases/replication.storage.openshift.io_volumereplicationclasses.yaml ``` ## Enable CSI Replication Sidecars diff --git a/build/crds/build-crds.sh b/build/crds/build-crds.sh index 03de72f90..900959de6 100755 --- a/build/crds/build-crds.sh +++ b/build/crds/build-crds.sh @@ -57,7 +57,7 @@ copy_volume_replication_crds() { volume_replication_class_crd=replication.storage.openshift.io_volumereplicationclasses.yaml if [[ ! -d "${volume_replication_dir}" ]]; then mkdir -p "${volume_replication_dir}" - volume_replication_url=https://raw.githubusercontent.com/csi-addons/volume-replication-operator/v0.1.0/config/crd/bases + volume_replication_url=https://raw.githubusercontent.com/csi-addons/volume-replication-operator/v0.3.0/config/crd/bases curl -L ${volume_replication_url}/${volume_replication_crd} -o ${volume_replication_dir}/${volume_replication_crd} curl -L ${volume_replication_url}/${volume_replication_class_crd} -o ${volume_replication_dir}/${volume_replication_class_crd} fi diff --git a/tests/framework/installer/ceph_installer.go b/tests/framework/installer/ceph_installer.go index 6de61970e..5105d54a3 100644 --- a/tests/framework/installer/ceph_installer.go +++ b/tests/framework/installer/ceph_installer.go @@ -59,7 +59,7 @@ const ( osd_pool_default_size = 1 bdev_flock_retry = 20 ` - volumeReplicationVersion = "v0.1.0" + volumeReplicationVersion = "v0.3.0" ) var ( diff --git a/tests/scripts/github-action-helper.sh b/tests/scripts/github-action-helper.sh index 972ef3371..0b8c0bffe 100755 --- a/tests/scripts/github-action-helper.sh +++ b/tests/scripts/github-action-helper.sh @@ -166,7 +166,7 @@ function validate_yaml() { kubectl create -f crds.yaml -f common.yaml # create the volume replication CRDs - replication_version=v0.1.0 + replication_version=v0.3.0 replication_url="https://raw.githubusercontent.com/csi-addons/volume-replication-operator/${replication_version}/config/crd/bases" kubectl create -f "${replication_url}/replication.storage.openshift.io_volumereplications.yaml" kubectl create -f "${replication_url}/replication.storage.openshift.io_volumereplicationclasses.yaml"