cherr-pick(fix,restore): removing annotation openebs.io/created-through from PVC #86
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why is this PR required? What issue does it fix?:
This PR is fix for #84 and openebs-archive/maya#1689
What this PR does?:
This PR clears the annotation
openebs.io/created-through
from restore cstor PVC.Cherry-pick of #85
Does this PR require any upgrade changes?: No
If the changes in this PR are manually verified, list down the scenarios covered and commands you used for testing with logs:
Following scenario verified
test
, through velero-pluginns1
openebs.io/created-through
ns2
Output:
mayank@mayank:~/cloudvm$ kubectl get cvr -n openebs NAME USED ALLOCATED STATUS AGE pvc-1245be62-8a12-49b4-b1f2-653995f63613-cstor-pool-z7ra 36.4M 12.1M Healthy 4m39s pvc-4bf06db4-2cba-4c23-998b-f6e3249d4fa6-cstor-pool-z7ra 6.50K 6.50K Healthy 97m pvc-d7620526-f982-4cc1-9397-9914a4354dcc-cstor-pool-z7ra 54.7M 16.1M Healthy 28m
Checklist:
openebs.io/created-through
once restore completes #84 restic restore failed for cstor volume openebs-archive/maya#1689<type>(<scope>): <subject>
Signed-off-by: mayank mayank.patel@mayadata.io