-
Notifications
You must be signed in to change notification settings - Fork 102
Enable NoNewRequiredFields in crd-schema-checker #1702
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
Enable NoNewRequiredFields in crd-schema-checker #1702
Conversation
It was disabled with 553fc53. We should not add this setting in the script. If required, we should override the job to allow a wanted change in that regard. Signed-off-by: Martin Schuppert <mschuppert@redhat.com>
abays
left a comment
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.
/lgtm
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abays, stuggi The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/32ee131ba32746b899741a00fdb3307f ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 07m 41s |
|
recheck |
|
/test openstack-operator-build-deploy-kuttl |
03abc22
into
openstack-k8s-operators:main
Sorry, I was planning to re-enable it after that PR merged but was out sick. I don't prefer to override the pre-commit job as it can hide other issues and also folks don't review PRs that has not passed CI. Probably we should make it work for the scenarios where we're adding optional fields that should not fail. |
for me personally, I prefer to override when someone checked the pre-commit logs manually and verified (could be running local with disable the check) that it is ok to merged the new parameters it reported. |
Not all reviewers would check pre-commit logs for a failure before reviewing a PR. We need a better way IMO as both approaches are suboptimal. |
It was disabled with 553fc53. We should not add this setting in the script. If required, we should override the job to allow a wanted change in that regard.