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:
5 files changed
+7
-7
No files matched your search
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -59,7 +59,7 @@ const (
|
||||
osd_pool_default_size = 1
|
||||
bdev_flock_retry = 20
|
||||
`
|
||||
volumeReplicationVersion = "v0.1.0"
|
||||
volumeReplicationVersion = "v0.3.0"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user