Skip to content

[release-4.18] OCPBUGS-148292: Replace wildcard permissions with explicit verbs in MachineConfigServer ClusterRole - #6798

Open
openshift-cherrypick-robot wants to merge 1 commit into
openshift:release-4.18from
openshift-cherrypick-robot:cherry-pick-6694-to-release-4.18
Open

openshift-cherrypick-robot wants to merge 1 commit into
openshift:release-4.18from
openshift-cherrypick-robot:cherry-pick-6694-to-release-4.18

Conversation

@openshift-cherrypick-robot

Copy link
Copy Markdown

This is an automated cherry-pick of #6694

/assign openshift-cherrypick-robot

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Pipeline controller notification

This PR uses the pipeline controller for second-stage tests. Selection and triggering follow the repository configuration.

Use /test ? to list jobs and /pipeline help for commands.

@coderabbitai

coderabbitai Bot commented Nov 28, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML; Path: .coderabbit.yaml
  • Review profile: CHILL
  • Plan: Enterprise
  • Run ID: 4c7c474b-1fe3-427c-acab-d50a4d245eed

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

@openshift-ci

openshift-ci Bot commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign yuqi-zhang 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

@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@openshift-cherrypick-robot: Jira Issue OCPBUGS-134764 has been cloned as Jira Issue OCPBUGS-148292. Will retitle bug to link to clone.
/retitle [release-4.18] OCPBUGS-148292: Replace wildcard permissions with explicit verbs in MachineConfigServer ClusterRole

Details

In response to this:

This is an automated cherry-pick of #6694

/assign openshift-cherrypick-robot

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.

@openshift-ci openshift-ci Bot changed the title [release-4.18] OCPBUGS-134764: Replace wildcard permissions with explicit verbs in MachineConfigServer ClusterRole [release-4.18] OCPBUGS-148292: Replace wildcard permissions with explicit verbs in MachineConfigServer ClusterRole Nov 28, 2026
@openshift-ci-robot openshift-ci-robot added jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Nov 28, 2026
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@openshift-cherrypick-robot: This pull request references Jira Issue OCPBUGS-148292, which is invalid:

  • expected dependent Jira Issue OCPBUGS-134764 to be in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA), but it is MODIFIED instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

This is an automated cherry-pick of #6694

/assign openshift-cherrypick-robot

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.

@redhat-chai-bot

Copy link
Copy Markdown
Contributor

Chai risk assessment for 7168765035e3e1f440f1578a2aa0fc2716905084 → release-4.18

Tier: Critical
Assessed: Critical
Minimum: Low
Signals: 1 files, +1/-1 lines outside vendored and generated code; no API type changes; no CRD schema changes; full diff read.
Rubric: https://github.com/openshift-eng/ai-helpers/tree/5dabac2e93bec75ff35c09deac7e39220ce1e9ff/plugins/openshift-developer/skills/pr-risk-assessment

Reason: This z-stream cherry-pick to release-4.18 narrows the machine-config-server ClusterRole on machineconfigs and machineconfigpools from wildcard verbs to get/list/watch. It is a one-line manifest change, but it changes a security boundary (RBAC scope) for the component that serves Ignition to joining nodes, and it reaches existing customer clusters on the next 4.18 z-stream update once the operator reconciles the role. A search of pkg/server on release-4.18 found no Create/Update/Patch/Delete calls on these resources, so the narrowing looks consistent with what the server does. Still, finding no call path does not prove there is no impact: if any MCS path (or a library it uses) needs a write verb, the failure would be new nodes unable to fetch configs and failing to join, during scale-up, node replacement or upgrades. That blast radius, plus the change to credential scope, meets the Critical definition. Signals: 1 file, +1/-1, no API or CRD changes, full diff read; the repository has no AGENTS.md on the base branch.

Change it with @redhat-chai-bot /risk-tier <low|moderate|critical>: anyone can raise the tier; lowering it needs two OWNERS approvers and lasts until the next push.

/label chai-risk-assessment/critical

@openshift-ci openshift-ci Bot added the chai-risk-assessment/critical Chai risk assessment of the latest commit: critical (may disrupt clusters if wrong). label Nov 28, 2026
@openshift-ci

openshift-ci Bot commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

@openshift-cherrypick-robot: 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/unit 7168765 link true /test unit

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chai-risk-assessment/critical Chai risk assessment of the latest commit: critical (may disrupt clusters if wrong). jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants