-
Notifications
You must be signed in to change notification settings - Fork 69
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
fix(restore): set targetip on CVRs after restore is completed #198
Conversation
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.
Thanks for the PR @zlymeda!
I've given few minor comments. PTAL.
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.
Thanks for the PR!! Good one 👍
@mittachaitu @mynktl I updated the PR, PTAL, thanks |
@zlymeda -- Thanks for the PR. Given some comments. |
@sonasingh46 regarding the DCO, I accepted two inline changes and those don't have my signoff in the message. Should I squeeze commits and force push? |
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.
Changes are good
I squeezed commits and force-pushed to fix the DCO. |
@zlymeda -- One last thing -- can you please rebase and then we can go ahead with the merge. |
Auto-setting of targetip on CVR if openebs.io/restore-completed is found Signed-off-by: Ondrej Belusky <zlymeda@gmail.com>
@sonasingh46 rebased |
Auto-setting of targetip on CVR if openebs.io/restore-completed is found
Pull Request template
Why is this PR required? What issue does it fix?:
Currently, users have to set targetip on CVRs after restore. Corresponding change in openebs/velero-plugin#131 will mark CVRs which needs to update the targetip. Changes in this PR will check the annotation and set the targetip.
What this PR does?:
Sets targetip on CVRs marked with openebs.io/restore-completed annotation.
Does this PR require any upgrade changes?:
No
If the changes in this PR are manually verified, list down the scenarios covered::
make test
in velero-plugin repository with changes deployed.Any additional information for your reviewer? :
Mention if this PR is part of any design or a continuation of previous PRs
related maya PR: openebs-archive/maya#1761
related velero-plugin PR: openebs/velero-plugin#131
Checklist:
<type>(<scope>): <subject>