-
Notifications
You must be signed in to change notification settings - Fork 220
fix: remove CRD check #1056
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
fix: remove CRD check #1056
Conversation
Kudos, SonarCloud Quality Gate passed! |
} | ||
|
||
// Apply validations that are not handled by fabric8 | ||
CustomResourceUtils.assertCustomResource(resClass, crd); |
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.
Note that this adds more validation than just checking if the CRD exists so this removes more than just this check.
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.
Hmm, but without the CRD, this is something that we actually cannot check either, or?
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.
I'm also fine to have this functionality, just target defatult feature switch to false. What do you think?
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.
Yes, maybe we should keep the feature after all, though I have to admit that if it's off by default, I'm not sure people will ever use it… 🤔
That said, it could be activated by default in the extensions for some context (e.g. Quarkus' dev mode).
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.
KK will issue an another PR, with default false.
closed in favor of: #1063 |
No description provided.