Skip to content

fix: Add /federate nonResourceURLs permission to Prometheus ClusterRole#990

Closed
anispate wants to merge 1 commit intorhobs:mainfrom
anispate:SREP-3312
Closed

fix: Add /federate nonResourceURLs permission to Prometheus ClusterRole#990
anispate wants to merge 1 commit intorhobs:mainfrom
anispate:SREP-3312

Conversation

@anispate
Copy link
Contributor

@anispate anispate commented Jan 29, 2026

Adds the /federate endpoint permission to the auto-generated Prometheus ClusterRole to fix HTTP 403 Forbidden errors when ServiceMonitors attempt to scrape metrics from the /federate endpoint.

This resolves the issue where CMO federation to hypershift-monitoring-stack fails on all MC clusters because the ClusterRole was missing the required nonResourceURLs permission.

Fixes: SREP-3312

🤖 Generated with Claude Code

@openshift-ci openshift-ci bot requested review from machine424 and slashpai January 29, 2026 19:21
@openshift-ci
Copy link

openshift-ci bot commented Jan 29, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: anispate
Once this PR has been reviewed and has the lgtm label, please assign rexagod for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

Adds the /federate endpoint permission to the auto-generated Prometheus
ClusterRole to fix HTTP 403 Forbidden errors when ServiceMonitors attempt
to scrape metrics from the /federate endpoint.

This resolves the issue where CMO federation to hypershift-monitoring-stack
fails on all MC clusters because the ClusterRole was missing the required
nonResourceURLs permission.

Fixes: SREP-3312

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@anispate anispate changed the title [DRAFT] fix: Add /federate nonResourceURLs permission to Prometheus ClusterRole fix: Add /federate nonResourceURLs permission to Prometheus ClusterRole Jan 29, 2026
@openshift-ci
Copy link

openshift-ci bot commented Jan 29, 2026

@anispate: The following test 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/observability-operator-e2e b190b02 link true /test observability-operator-e2e

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

@anispate anispate closed this Feb 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant