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

Verify group before treating resource as cohabitating #4126

Merged
merged 1 commit into from
Nov 3, 2021

Conversation

sseago
Copy link
Collaborator

@sseago sseago commented Sep 9, 2021

Signed-off-by: Scott Seago sseago@redhat.com

Thank you for contributing to Velero!

Please add a summary of your change

This PR adds group checking to the cohabitating resource handling. Before setting cohabitator.seen or checking for cohabitator.seen, we first confirm that this resource belongs to one of the linked groups.
Also included is a unit test which confirms the fix.

Does your change fix a particular issue?

Fixes #4125

Please indicate you've done the following:

  • [x ] Accepted the DCO. Commits without the DCO will delay acceptance.
  • [x ] Created a changelog file or added /kind changelog-not-required.
  • Updated the corresponding documentation in site/content/docs/main.

Signed-off-by: Scott Seago <sseago@redhat.com>
@sseago
Copy link
Collaborator Author

sseago commented Sep 9, 2021

@alaypatel07 This is the fix we were discussing earlier.

@dsu-igeek
Copy link
Contributor

Will finish review and merge after 1.7 RC2

@dsu-igeek dsu-igeek added this to the v1.8.0 milestone Sep 15, 2021
@dsu-igeek dsu-igeek added this to To Do in v1.8.0 Oct 20, 2021
v1.8.0 automation moved this from To Do to In Progress Nov 3, 2021
@zubron zubron merged commit 550efdd into vmware-tanzu:main Nov 3, 2021
@yanji09 yanji09 moved this from In Progress to Done in v1.8.0 Jan 17, 2022
danfengliu pushed a commit to danfengliu/velero that referenced this pull request Jan 25, 2022
)

Signed-off-by: Scott Seago <sseago@redhat.com>
gyaozhou pushed a commit to gyaozhou/velero-read that referenced this pull request May 14, 2022
)

Signed-off-by: Scott Seago <sseago@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

Cohabitating resource check on backup ignores groups
4 participants