-
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
🐛 BSLs with validation disabled should be validated at least once #3084
Conversation
8f72b85
to
3d308ec
Compare
7cad257
to
27b1843
Compare
Why? |
Because without that the rule at https://github.com/vmware-tanzu/velero/blob/main/internal/storage/storagelocation.go#L44 is not satisfied and the status of BSLs whose repeated validation is disabled will never be validated.
And this test that I added will fail without the fix https://github.com/vmware-tanzu/velero/pull/3084/files#diff-dbcfa84383a8788385bd7a7ea6a611ba3608d7b34ff6db6626c28fba93df7662R45-R50
|
27b1843
to
c56e8cd
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.
Glad you caught this discrepancy!
I made some suggestions/requests.
c56e8cd
to
1fac316
Compare
Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
1fac316
to
1a187fc
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.
Aside from one minor comment change, I think I'm 👍 on this.
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, @ashish-amarnath!
Looks like this needs a final review and approval from @carlisia before merging. |
b01deb9
to
1f0cf3b
Compare
Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
1f0cf3b
to
0d91f0c
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.
Thank you for this 🙏
…ware-tanzu#3084) * 🐛 BSLs with validation disabled should be validated at least once Signed-off-by: Ashish Amarnath <ashisham@vmware.com> * review comments Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
…ware-tanzu#3084) * 🐛 BSLs with validation disabled should be validated at least once Signed-off-by: Ashish Amarnath <ashisham@vmware.com> * review comments Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
…ware-tanzu#3084) * 🐛 BSLs with validation disabled should be validated at least once Signed-off-by: Ashish Amarnath <ashisham@vmware.com> * review comments Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
…ware-tanzu#3084) * 🐛 BSLs with validation disabled should be validated at least once Signed-off-by: Ashish Amarnath <ashisham@vmware.com> * review comments Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
…ware-tanzu#3084) * 🐛 BSLs with validation disabled should be validated at least once Signed-off-by: Ashish Amarnath <ashisham@vmware.com> * review comments Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
…ware-tanzu#3084) * 🐛 BSLs with validation disabled should be validated at least once Signed-off-by: Ashish Amarnath <ashisham@vmware.com> * review comments Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
Signed-off-by: Ashish Amarnath ashisham@vmware.com