Skip to content
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

replication: remove annotation from pvc #217

Merged
merged 2 commits into from
Aug 25, 2022

Conversation

Madhu-1
Copy link
Member

@Madhu-1 Madhu-1 commented Aug 25, 2022

As part of #213, support was added to have one VR per PVC. Once the VR is deleted, we need to remove the annotation so a new VR can be created for the same PVC. This PR adds the missing piece.

Signed-off-by: Madhu Rajanna [email protected]

@Madhu-1 Madhu-1 marked this pull request as draft August 25, 2022 09:38
@Madhu-1 Madhu-1 force-pushed the support-owner-ant-del branch from 537792d to 472f351 Compare August 25, 2022 10:11
As part of csi-addons#213 support was added to have
one VR per PVC, once the VR is deleted we
need to remove the annotation so new VR
can be created for the same PVC. This PR
adds the missing piece.

Signed-off-by: Madhu Rajanna <[email protected]>
the owner reference should be added only
when the VR is created not always, moved
adding annotatePVCWithOwner to the correct
if check.

Signed-off-by: Madhu Rajanna <[email protected]>
@Madhu-1 Madhu-1 force-pushed the support-owner-ant-del branch from 472f351 to 2e307ad Compare August 25, 2022 10:12
@Madhu-1 Madhu-1 marked this pull request as ready for review August 25, 2022 10:12
@mergify mergify bot merged commit c762180 into csi-addons:main Aug 25, 2022
Nikhil-Ladha pushed a commit to Nikhil-Ladha/kubernetes-csi-addons that referenced this pull request Oct 25, 2024
Syncing latest changes from upstream main for kubernetes-csi-addons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants