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 <tnielsen@redhat.com>
This commit is contained in:
Travis Nielsen committed 2022-03-09 15:53:45 -07:00
1 parent d86bb78f11
commit 75a385e187
5 files changed
+7 -7

No files matched your search

+2 -2
View File
@@ -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:
+2 -2
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -59,7 +59,7 @@ const (
osd_pool_default_size = 1
bdev_flock_retry = 20
`
volumeReplicationVersion = "v0.1.0"
volumeReplicationVersion = "v0.3.0"
)
var (
+1 -1
View File
@@ -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"