-
Notifications
You must be signed in to change notification settings - Fork 515
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
operator: add missing markers to condition type #445
operator: add missing markers to condition type #445
Conversation
I'm not sure I know how to assess just how risky this change is. |
@deads2k @Miciah if these have to stay optional then I think we need to fix https://github.com/openshift/cluster-ingress-operator/blob/release-4.2/manifests/00-custom-resource-definition.yaml#L708 in 4.2? |
/lgtm |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ironcladlou, Miciah The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Very important to add: these fields are not |
Hmm, does that mean it's safe to mark them required now? |
It means that it is safe if we can assume that neither a dynamic client has been involved in creating those conditions and no user manually removed those fields. Both assumptions are unlikely to be wrong. |
@deads2k want to hear your opinion on #445 (comment) |
Don't tighten validation. /close |
@deads2k: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@sttts @deads2k @damemi @Miciah
See openshift/cluster-ingress-operator#301 (review).
I think the ingress and dns APIs are the only consumers of this type, and we've been persisting them as optional in 4.1 (example) and switched them to required in 4.2 (example).
Since we own the only known consumers, we can deal with any cleanup (and upgrade testing has not revealed any issues).