-
Notifications
You must be signed in to change notification settings - Fork 144
add featuregate status #288
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
JoelSpeed
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.
No feedback on initial pass, will do another review once we have a demo end to end
c803868 to
031b5b9
Compare
|
now with unit tests.
That's enough to get started. library-go and this need to merge in quick succession. The bump in kas-o can happen a bit later. The installer change can come latest. At worst, I can make that one vendor openshift/api if I get no response. |
JoelSpeed
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.
One nit otherwise I think this is fine, tests seem to be comprehensive.
One quick note, a point of friction that will likely come up is that people will have to agree the API change and then make sure CCO is revendored with the appropriate change. I expect the map in configv1 has sufficient consumers that it would be a pain to move the source of truth here, but, we should ensure the enhancement records why there is a split between the two repos so we have something to point people to
| if err != nil { | ||
| return err | ||
| } |
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 tend to dislike naked err returns and insist on fmt.Errorf("<context>: %w", err) to make things easier to debug down the line, up to you if you want to fix those throughout this controller or not, I expect you'll be the first one debugging errors
|
/hold cancel this is the next step in line. Make the API available to consumers |
|
/lgtm Discussed in slack, future todo to move to |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k, JoelSpeed 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 |
|
adding valid bug because this is needed to unstick the cloud contorller manager bug |
|
upgrade showing green as well https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_cluster-config-operator/288/pull-ci-openshift-cluster-config-operator-master-e2e-upgrade/1650576003778482176 github is being slow. I'm merging to fix the next two problems. |
…nder CI is currently borken https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/logs/periodic-ci-openshift-hypershift-release-4.14-periodics-e2e-aws-ovn/1653511338548269056/artifacts/e2e-aws-ovn/run-e2e/artifacts/TestCreateCluster_PreTeardownClusterDump/namespaces/e2e-clusters-glkxm-example-qmb9l/core/pods/logs/kube-apiserver-79b6c48d7-mzv44-init-bootstrap-previous.log. This introduced a new command which is effectively required openshift/cluster-config-operator#288 Here it was added to the installer github.com/openshift/installer/pull/6990
…nder CI is currently borken https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/logs/periodic-ci-openshift-hypershift-release-4.14-periodics-e2e-aws-ovn/1653511338548269056/artifacts/e2e-aws-ovn/run-e2e/artifacts/TestCreateCluster_PreTeardownClusterDump/namespaces/e2e-clusters-glkxm-example-qmb9l/core/pods/logs/kube-apiserver-79b6c48d7-mzv44-init-bootstrap-previous.log. This introduced a new command which is effectively required openshift/cluster-config-operator#288 Here it was added to the installer github.com/openshift/installer/pull/6990
…nder CI is currently borken https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/logs/periodic-ci-openshift-hypershift-release-4.14-periodics-e2e-aws-ovn/1653511338548269056/artifacts/e2e-aws-ovn/run-e2e/artifacts/TestCreateCluster_PreTeardownClusterDump/namespaces/e2e-clusters-glkxm-example-qmb9l/core/pods/logs/kube-apiserver-79b6c48d7-mzv44-init-bootstrap-previous.log. This introduced a new command which is effectively required openshift/cluster-config-operator#288 Here it was added to the installer github.com/openshift/installer/pull/6990
For openshift/enhancements#1373
Part 3 of a multi-step plan to make individual featuregates observable via the API. This was previously avoided because when featuregates get promoted from TechPreview to Default, during an upgrade, an old operator may try to enable a TechPreview variant of a feature.
This can be addressed by keying the featuregates by version. Let's see how ugly that will be in practice now that we have a decent build-out of library-go.
Unit tests are still owed. Proof is still owed. cluster-config-operator controller is still owed.
/hold
This is proving the concept, not to be merged until it shows as working end-to-end.
Other steps include
/assign @JoelSpeed