-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Envtest is not idempotent when installing CRDs, an issue when UseExistingCluster=true #342
Comments
Probably, it should clean up the CRDs at the end, but replacing is also an option. Would you be willing to submit a PR for it? |
/kind feature |
Great! Yeah we'd be happy to PR this in, we'll try to get something opened in the next few days. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
will be fixed by #453 |
or by #457 |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/lifecycle frozen |
Fixes kubernetes-sigs#342 Refs kubernetes-sigs#457 Signed-off-by: Pires <pjpires@gmail.com>
Fixes kubernetes-sigs#342 Closes kubernetes-sigs#457 Signed-off-by: Pires <pjpires@gmail.com>
We want to use envtest against an existing cluster and are having issues when installing CRDs. Envtest will fail on the second running of the tests because the CRDs already exist in the cluster. This is only an issue when using an existing cluster because normally envtest starts a new control plane each time.
Example setup we want to use:
And error we get:
Is it possible to have envtest reinstall CRDs on every run rather than fail?
Thanks
Ed & @Samze & @ablease
The text was updated successfully, but these errors were encountered: