[cert-manager-1.20] OCPBUGS-85579: Move Console resources from bundle to runtime with capability detection - #467
Conversation
… discovery Move Console resource creation (ConsoleYAMLSample, ConsoleQuickStart) from the OLM bundle to operator runtime, fixing installs on consoleless clusters where OLM fails with "GroupVersionKind console.openshift.io/v1 not found". At startup, the operator uses ResourceDiscoverer to check if Console CRDs exist. If present, the console resources controller is created and applies resources using the typed console clientset. If absent (MicroShift, consoleless RAN/SNO), the controller is never started. Day-2 console enablement is picked up on operator restart. Key changes: - Use typed consoleclient.Interface instead of dynamic.Interface - CRD existence discovery at startup via utils.NewResourceDiscoverer - Console controller conditionally created in CertManagerControllerSet - Remove ClusterVersion capability polling (no more per-sync API calls) - Remove clusterversions RBAC (no longer needed) - Console assets loaded via generic loadAssets[T] with sigs.k8s.io/yaml
|
@openshift-cherrypick-robot: Could not make automatic cherrypick of Jira Issue OCPBUGS-85579 for this PR as the target version is not set for this branch in the jira plugin config. Running refresh: DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
|
@openshift-ci-robot: This pull request references Jira Issue OCPBUGS-85579, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
This is an automated cherrypick PR, hence adding all the required labels |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bharath-b-rh, openshift-cherrypick-robot 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 |
|
@openshift-cherrypick-robot: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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. |
This is an automated cherry-pick of #455
/assign bharath-b-rh