Skip to content

Commit

Permalink
replication: update sample yamls
Browse files Browse the repository at this point in the history
updated sample yamls for reference

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
  • Loading branch information
Madhu-1 authored and mergify[bot] committed Jun 18, 2024
1 parent d7c3180 commit c5d138e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,9 @@ metadata:
app.kubernetes.io/created-by: kubernetes-csi-addons
name: volumegroupreplication-sample
spec:
# TODO(user): Add fields here
source:
selector:
matchLabels:
group: replication
volumeGroupReplicationClassName: volumegroupreplicationclassname
replicationState: primary
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ metadata:
app.kubernetes.io/created-by: kubernetes-csi-addons
name: volumegroupreplicationclass-sample
spec:
# TODO(user): Add fields here
provisioner: driver.csi.com
parameters:
replication.storage.openshift.io/group-replication-secret-name: secret
replication.storage.openshift.io/group-replication-secret-namespace: default
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,11 @@ metadata:
app.kubernetes.io/created-by: kubernetes-csi-addons
name: volumegroupreplicationcontent-sample
spec:
# TODO(user): Add fields here
volumeGroupReplicationRef:
name: volumegroupreplication
namespace: default
volumeGroupReplicationHandle: replicationHandle
provisioner: driver.csi.com
volumeGroupReplicationClassName: volumegroupreplicationclassname
source:
- volumeHandles: volumeID

0 comments on commit c5d138e

Please sign in to comment.