Skip to content

switch to featuregates via the API#1485

Merged
openshift-merge-robot merged 2 commits intoopenshift:masterfrom
deads2k:new-featuregate
Apr 26, 2023
Merged

switch to featuregates via the API#1485
openshift-merge-robot merged 2 commits intoopenshift:masterfrom
deads2k:new-featuregate

Conversation

@deads2k
Copy link
Copy Markdown
Contributor

@deads2k deads2k commented Apr 25, 2023

rendering will need a future update, but I'm working that out with the installer first.

@openshift-ci openshift-ci Bot requested review from benluddy and soltysh April 25, 2023 16:10
@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 25, 2023
@benluddy
Copy link
Copy Markdown
Contributor

/assign

Comment on lines +32 to +39
//corruptFeatureSet := &configv1.FeatureGate{
// Spec: configv1.FeatureGateSpec{
// FeatureGateSelection: configv1.FeatureGateSelection{
// FeatureSet: "Bad",
// CustomNoUpgrade: nil,
// },
// },
//}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The observer doesn't know about feature sets anymore. Any reason to keep this or the related test cases around and commented?

},
},
}
// TODO provide a hardcoded test harness that allows not-ready and error
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I see that hardcodedFeatureGateAccess supports this but doesn't export any way to configure it. Are you imagining that it should be made usable for external tests like these? I don't object to dropping a stub implementation right here for use in not ready and error test cases.

@benluddy
Copy link
Copy Markdown
Contributor

Observed a panic: &runtime.TypeAssertionError{_interface:(*runtime._type)(nil), concrete:(*runtime._type)(0x291f0a0), asserted:(*runtime._type)(0x25c1aa0), missingMethod:"FeatureGateAccessor"} (interface conversion: configobservation.Listers is not auth.FeatureGateLister: missing method FeatureGateAccessor)

https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_cluster-kube-apiserver-operator/1485/pull-ci-openshift-cluster-kube-apiserver-operator-master-e2e-gcp-operator/1650894721830096896

@benluddy
Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Apr 26, 2023
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Apr 26, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: benluddy, 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

@deads2k deads2k added the bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. label Apr 26, 2023
@deads2k
Copy link
Copy Markdown
Contributor Author

deads2k commented Apr 26, 2023

labelling for the bugs to get this in to enable the external cloud provider unrevert.

/retest

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Apr 26, 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-single-node c0fbca0 link false /test e2e-gcp-operator-single-node
ci/prow/e2e-aws-operator-disruptive-single-node c0fbca0 link false /test e2e-aws-operator-disruptive-single-node

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.

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. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants