-
Notifications
You must be signed in to change notification settings - Fork 220
fix: set default CRD check to false #1057
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
Conversation
Kudos, SonarCloud Quality Gate passed! |
The problem is that the behavior was actually wrong in the core, which ended up behaving like the default was |
It would not be breaking I think, I mean we can still keep the default true on those extensions. It won't be breaking in the sense that this is less restrictive. Everything will work that worked until now. But in pure java is actually a breaking change, users already complained on our discord channel. |
Will created an another PR where we just log that checking CRD, and how to turn it off. That is always useful. |
Yes but they're actually complaining that a bug was fixed because that was the intended behavior 😉 |
Just users did not know that, nowhere documented, and just everybody used the default. So it can be quite annoying. But basically it also should not be default |
You could make the same point about the default behavior of watching all namespaces, which is not realistic for many operators… |
I don't understand how it is related. Watch all namespaces is absolutely a valid use case, lots of operators are deployed that way. But don't think there is a use case when we should check CRD on prod during startup. That might be on a dev environment. But on prod it should be already well tested. |
Seting default to false, since the latest release changed the behavior (with the fix). So I would rather have it handled this way for now, and creating a small patch release. So there is no confusion if somebody upgrades.