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

Limit backup namespaces on test resource filtering cases #4437

Merged
merged 1 commit into from
Dec 9, 2021

Conversation

qiuming-best
Copy link
Contributor

Signed-off-by: ming qiu mqiu@mqiu-a01.vmware.com

Thank you for contributing to Velero!

Please add a summary of your change

Fix two problems in vsphere e2e environment.

  • Add image pull secret to avoid the image pull limit issue of Docker Hub
  • Optimal the situation that no limit namespaces when backup will make the backup procedure stuck.

Does your change fix a particular issue?

Fixes #(issue)
#4404

Please indicate you've done the following:

  • Accepted the DCO. Commits without the DCO will delay acceptance.
  • Created a changelog file or added /kind changelog-not-required as a comment on this pull request.
  • Updated the corresponding documentation in site/content/docs/main.

Signed-off-by: ming qiu <mqiu@mqiu-a01.vmware.com>
if VeleroCfg.InstallVelero {
err := VeleroUninstall(context.Background(), VeleroCfg.VeleroCLI, VeleroCfg.VeleroNamespace)
Expect(err).To(Succeed())
isVeleroInstalled = true
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here, In the cases which call the TestFunc will only install velero once, but will not uninstall it when complete. Later I will further improve in other modules.

Copy link
Contributor

@danfengliu danfengliu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ywk253100 ywk253100 merged commit edbd2f7 into vmware-tanzu:main Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants