Skip to content

[wip] Read featuregates from cluster state #1459

Closed
deads2k wants to merge 2 commits intoopenshift:masterfrom
deads2k:featuregates
Closed

[wip] Read featuregates from cluster state #1459
deads2k wants to merge 2 commits intoopenshift:masterfrom
deads2k:featuregates

Conversation

@deads2k
Copy link
Copy Markdown
Contributor

@deads2k deads2k commented Mar 8, 2023

For openshift/enhancements#1373

Part 4 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

  1. need to render out a version of FeatureGates that includes status for the featuregates to use during bootstrapping and plumb that through the installer.
  2. need to read a FeatureGates manifest from disk instead of the single arg
  3. enhancements write up describing how it works end to end.

fyi @JoelSpeed

@openshift-ci openshift-ci Bot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. labels Mar 8, 2023
@openshift-ci openshift-ci Bot requested review from benluddy and dgrisonnet March 8, 2023 21:45
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Mar 8, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deads2k

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 8, 2023
Copy link
Copy Markdown
Contributor

@JoelSpeed JoelSpeed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No initial feedback on the first pass, will review again when this is ready for an e2e proof

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 10, 2023
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 13, 2023
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 24, 2023
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 28, 2023
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Mar 28, 2023

@deads2k: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-gcp-operator-encryption-aesgcm e9a5bb1 link false /test e2e-gcp-operator-encryption-aesgcm
ci/prow/e2e-gcp-operator-encryption-single-node e9a5bb1 link false /test e2e-gcp-operator-encryption-single-node
ci/prow/e2e-gcp-operator-encryption-rotation-single-node e9a5bb1 link false /test e2e-gcp-operator-encryption-rotation-single-node
ci/prow/e2e-gcp-operator-encryption-perf-single-node e9a5bb1 link false /test e2e-gcp-operator-encryption-perf-single-node
ci/prow/e2e-gcp-operator-encryption-rotation-aesgcm e9a5bb1 link false /test e2e-gcp-operator-encryption-rotation-aesgcm
ci/prow/e2e-gcp-operator-encryption-perf-aesgcm e9a5bb1 link false /test e2e-gcp-operator-encryption-perf-aesgcm
ci/prow/e2e-gcp-operator-encryption-perf-aescbc e9a5bb1 link false /test e2e-gcp-operator-encryption-perf-aescbc
ci/prow/e2e-gcp-operator-encryption-rotation-aescbc e9a5bb1 link false /test e2e-gcp-operator-encryption-rotation-aescbc
ci/prow/e2e-gcp-operator-encryption-aescbc e9a5bb1 link false /test e2e-gcp-operator-encryption-aescbc
ci/prow/e2e-aws-ovn 428a85e link true /test e2e-aws-ovn
ci/prow/verify 428a85e link true /test verify
ci/prow/unit 428a85e link true /test unit
ci/prow/k8s-e2e-gcp-serial 428a85e link false /test k8s-e2e-gcp-serial
ci/prow/e2e-gcp-operator 428a85e link true /test e2e-gcp-operator
ci/prow/e2e-aws-ovn-serial 428a85e link true /test e2e-aws-ovn-serial
ci/prow/e2e-aws-ovn-single-node 428a85e link false /test e2e-aws-ovn-single-node
ci/prow/k8s-e2e-gcp 428a85e link true /test k8s-e2e-gcp
ci/prow/e2e-gcp-operator-single-node 428a85e link false /test e2e-gcp-operator-single-node
ci/prow/e2e-aws-operator-disruptive-single-node 428a85e link false /test e2e-aws-operator-disruptive-single-node
ci/prow/e2e-metal-single-node-live-iso 428a85e link false /test e2e-metal-single-node-live-iso

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

@deads2k deads2k closed this Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants