OCPBUGS-65484: Add all managed resources to ClusterOperator relatedObjects#283
OCPBUGS-65484: Add all managed resources to ClusterOperator relatedObjects#283RadekManak wants to merge 2 commits into
Conversation
|
@RadekManak: This pull request references Jira Issue OCPBUGS-65484, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: 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. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
| }, | ||
| { | ||
| Group: "rbac.authorization.k8s.io", | ||
| Resource: "clusterroles", |
There was a problem hiding this comment.
Is a ClusterRole all you need? I'd expect you'd also need a ClusterRoleBinding that attaches that role to a ServiceAccount? And maybe other things?
|
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
|
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
WalkthroughThe PR expands the ClusterOperator's status.relatedObjects list in both manifest and code to include comprehensive RBAC resources (clusterroles, clusterrolebindings, serviceaccounts, roles, rolebindings) and monitoring resources across multiple namespaces. ChangesClusterOperator RelatedObjects Expansion
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 10 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (10 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
@RadekManak: The following tests failed, say
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. |
|
/remove-lifecycle rotten |
Add serviceaccounts, roles, rolebindings, configmaps, services, deployments, servicemonitors, and prometheusrules to the relatedObjects list so that oc adm inspect and must-gather collect the full set of resources managed by the operator.
9707b28 to
b02fadd
Compare
|
@RadekManak: This pull request references Jira Issue OCPBUGS-65484, 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. |
Adds all resources managed by the machine-approver operator to the ClusterOperator's relatedObjects list, ensuring
oc adm inspectand must-gather collect the complete set of resources needed for debugging.Resources added
Both the static manifest YAML and the Go source are kept in sync.
Summary by CodeRabbit