-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Keep the annotation "pv.kubernetes.io/provisioned-by" when restoring PVs #4391
Conversation
5406258
to
84b451f
Compare
changelogs/unreleased/4391-ywk253100
Outdated
@@ -0,0 +1 @@ | |||
Keep the annotation "pv.kubernetes.io/provisioned-by" when storing PVs |
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.
Keep the annotation "pv.kubernetes.io/provisioned-by" when storing PVs | |
Keep the annotation "pv.kubernetes.io/provisioned-by" when restoring PVs |
84b451f
to
dcc4ca1
Compare
dcc4ca1
to
1febea5
Compare
Tested on:
|
pkg/restore/restore_test.go
Outdated
@@ -2989,15 +2989,15 @@ func Test_resetVolumeBindingInfo(t *testing.T) { | |||
WithName("pv-1").WithAnnotations( | |||
KubeAnnBindCompleted, | |||
KubeAnnBoundByController, | |||
KubeAnnDynamicallyProvisioned, |
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 don't know why need this change that removing the const variable and use string instead.
1febea5
to
065a035
Compare
More details please refer to vmware-tanzu#3470 (comment) Fixes vmware-tanzu#3470 Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
065a035
to
648f3ac
Compare
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, thank you.
More details please refer to #3470 (comment)
Fixes #3470
Signed-off-by: Wenkai Yin(尹文开) yinw@vmware.com
Thank you for contributing to Velero!
Please add a summary of your change
Does your change fix a particular issue?
Fixes #(issue)
Please indicate you've done the following:
/kind changelog-not-required
.site/content/docs/main
.