-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Label PVCs for consistency groups #1507
Conversation
Signed-off-by: Elena Gershkovich <elenage@il.ibm.com>
d78151e
to
f3e8ac8
Compare
/lgtm I will add a for loop to add the cg label in cephfs PVCs in func |
@@ -694,6 +701,54 @@ func (v *VRGInstance) updatePVCList() error { | |||
return v.separatePVCsUsingStorageClassProvisioner(pvcList) | |||
} | |||
|
|||
func (v *VRGInstance) labelPVCsForCG() error { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am just mentioning a conversation we had in another PR here: #1472 (comment)
This works for now. We will just have one CG per DRPC.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Elena Gershkovich <elenage@il.ibm.com>
Signed-off-by: Elena Gershkovich <elenage@il.ibm.com> Signed-off-by: Annaraya Narasagond <annaraya.narasagond@ibm.com>
Adding label "ramendr.openshift.io/consistency-group" to PVCs if consistency group is enable in DRPC.