-
Notifications
You must be signed in to change notification settings - Fork 561
[OTA-1545] Extend ClusterVersion for accepted risks #2360
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
base: master
Are you sure you want to change the base?
Conversation
Hello @hongkailiu! Some important instructions when contributing to openshift/api: |
6dc1e06
to
e780c3a
Compare
5218865
to
4b05550
Compare
f03a0de
to
73dc822
Compare
/approve cancel I think there's still some open discussion in the EP that we need to resolve before we merge this |
New changes are detected. LGTM label has been removed. |
/retest-required |
1 similar comment
/retest-required |
/test e2e-aws-ovn-techpreview |
Addressed in the most recent patch. PTAL. |
/retest |
/test e2e-aws-ovn-techpreview |
@hongkailiu Please stop retesting The test suite is currently permafailing and this PR is not yet approved, there's no point retesting as other things will merge before this, and the suite will need to be tested again once the master branch has moved |
I believe @petr-muller's concerns from the EP have been convered here, but I'd like his confirmation |
@JoelSpeed Petr is PTO until the end week of this week. |
7961806
to
a240545
Compare
config/v1/tests/clusterversions.config.openshift.io/ClusterUpdateAcceptRisks.yaml
Outdated
Show resolved
Hide resolved
- Add a new field 'clusterversion.spec.desiredUpdate.acceptRisks': It containsthe names of conditional update risks that are considered acceptable. - Move `clusterversion.status.conditionalUpdates.risks` two levels up as `clusterversion.status.conditionalUpdateRisks`. It contains all the risks for `clusterversion.status.conditionalUpdates`. - Add new field 'clusterversion.status.conditionalUpdates.riskNames': It contains the names of risk for the conditional update. It deprecates `clusterversion.status.conditionalUpdates.risks`. - Add a new field 'clusterversion.status.conditionalUpdateRisks.conditions': It contains the observations of the conditional update risk's current status.
The changes introduced by this pull are currently gated by a feature and there is not yet a mechanism to determine for existing fields which parts of docs should be included in which enabled features. We may revert this commit when the feature is promoted.
@hongkailiu: The following tests failed, say
Full PR test history. Your PR dashboard. 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-sigs/prow repository. I understand the commands that are listed here. |
@petr-muller @wking Are you both happy with the shape of this API and the behaviour per the test cases? Are we confident enough in the progress of the EP to say this is ready to merge? |
I was in a crunch to deliver something for 4.20 so I haven't had time to look but with that out of the way I plan to skim the enhancement today or tomorrow. |
Re-reviewed both the enhancement and the API today, I am fine with the current state (and really appreciate the effort that went to it 💚) |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: everettraven, hongkailiu, petr-muller 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 |
The API extensions is proposed in openshift/enhancements#1807
clusterversion.spec.desiredUpdate.acceptRisks
: Itcontainsthe names of conditional update risks that are considered
acceptable.
clusterversion.status.conditionalUpdates.risks
two levels up asclusterversion.status.conditionalUpdateRisks
. It contains all the risksfor
clusterversion.status.conditionalUpdates
.contains the names of risk for the conditional update. It deprecates
clusterversion.status.conditionalUpdates.risks
.It contains the observations of the conditional update risk's current
status.