Skip to content

[release-4.19] OCPBUGS-134764: Replace wildcard permissions with explicit verbs in MachineConfigServer ClusterRole - #6694

Merged
openshift-merge-bot[bot] merged 1 commit into
openshift:release-4.19from
openshift-cherrypick-robot:cherry-pick-6669-to-release-4.19
Nov 28, 2026
Merged

openshift-merge-bot[bot] merged 1 commit into
openshift:release-4.19from
openshift-cherrypick-robot:cherry-pick-6669-to-release-4.19

Conversation

@openshift-cherrypick-robot

Copy link
Copy Markdown

This is an automated cherry-pick of #6669

/assign openshift-cherrypick-robot

/cherrypick release-4.18

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 Oct 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: 9f15ef3a-3dd9-468e-a961-6c241c3e4014

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

Comment @coderabbitai help to get the list of available commands.

@openshift-ci-robot

Copy link
Copy Markdown
Contributor

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

Details

In response to this:

This is an automated cherry-pick of #6669

/assign openshift-cherrypick-robot

/cherrypick release-4.18

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.19] OCPBUGS-132751: Replace wildcard permissions with explicit verbs in MachineConfigServer ClusterRole [release-4.19] OCPBUGS-134764: Replace wildcard permissions with explicit verbs in MachineConfigServer ClusterRole Oct 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 Oct 28, 2026
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

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

  • expected dependent Jira Issue OCPBUGS-132751 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 #6669

/assign openshift-cherrypick-robot

/cherrypick release-4.18

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.

@isabella-janssen

Copy link
Copy Markdown
Member

/jira refresh
/verified later @ptalgulk01

@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. and removed jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Nov 20, 2026
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@isabella-janssen: This pull request references Jira Issue OCPBUGS-134764, which is valid. The bug has been moved to the POST state.

7 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.19.z) matches configured target version for branch (4.19.z)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)
  • release note type set to "Release Note Not Required"
  • dependent bug Jira Issue OCPBUGS-132751 is in the state Verified, which is one of the valid states (VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA))
  • dependent Jira Issue OCPBUGS-132751 targets the "4.20.z" version, which is one of the valid target versions: 4.20.0, 4.20.z
  • bug has dependents

Requesting review from QA contact:
/cc @sergiordlr

Details

In response to this:

/jira refresh
/verified later @ptalgulk01

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 requested a review from sergiordlr November 20, 2026 14:45
@openshift-ci-robot openshift-ci-robot added verified-later verified Signifies that the PR passed pre-merge verification criteria labels Nov 20, 2026
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@isabella-janssen: This PR has been marked to be verified later by @ptalgulk01.

Details

In response to this:

/jira refresh
/verified later @ptalgulk01

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.

@isabella-janssen

Copy link
Copy Markdown
Member

/assign @isabella-janssen

@proietfb

Copy link
Copy Markdown
Member

/approve
/label backport-risk-assessed
/lgtm

@proietfb

Copy link
Copy Markdown
Member

/test bootstrap-unit

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Nov 20, 2026
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Scheduling tests matching the pipeline_run_if_changed or not excluded by pipeline_skip_if_only_changed parameters:
/test e2e-aws-ovn
/test e2e-aws-ovn-upgrade
/test e2e-gcp-op
/test e2e-gcp-op-single-node
/test e2e-hypershift

@openshift-ci openshift-ci Bot added the backport-risk-assessed Indicates a PR to a release branch has been evaluated and considered safe to accept. label Nov 20, 2026
@redhat-chai-bot

Copy link
Copy Markdown
Contributor

Chai risk assessment for 2eb386fd2ebf62f6b9522019fe775ee781cc70cc → release-4.19

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/80b2e7e91e1a52028a1ab1a9bbf98d495260a0ee/plugins/openshift-developer/skills/pr-risk-assessment

Reason: This cherry-pick to release-4.19 narrows the machine-config-server ClusterRole's verbs on machineconfigs and machineconfigpools from "*" to get/list/watch. It changes a security boundary, and it will reach existing clusters in a z-stream update. The machine-config-server serves Ignition to joining nodes, so a defect would hit node joins: if any code path still needs a write verb on these resources, it would be denied, and new or replacement nodes could fail to join. That disruptive blast radius on running clusters decides Critical over Moderate. On the release-4.19 base I found no Create/Update/Patch/Delete calls in pkg/server or cmd/machine-config-server, which suggests read-only access is enough. A search that finds no call path does not prove there is none, though, so the tier stays at Critical. 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 20, 2026
@djoshy

djoshy commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

/approve

@openshift-ci

openshift-ci Bot commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: djoshy, proietfb

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

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 20, 2026
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

/retest-required

Remaining retests: 0 against base HEAD 5c4da8e and 2 for PR HEAD 2eb386f in total

@isabella-janssen

Copy link
Copy Markdown
Member

/retest-required

@isabella-janssen

Copy link
Copy Markdown
Member

/test e2e-hypershift

@isabella-janssen

Copy link
Copy Markdown
Member

/retest-required

@isabella-janssen

Copy link
Copy Markdown
Member

/test e2e-hypershift

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

/retest-required

Remaining retests: 0 against base HEAD 65e0914 and 1 for PR HEAD 2eb386f in total

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

/retest-required

Remaining retests: 0 against base HEAD 1883c17 and 0 for PR HEAD 2eb386f in total

@openshift-ci

openshift-ci Bot commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

@openshift-cherrypick-robot: all tests passed!

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.

@openshift-merge-bot
openshift-merge-bot Bot merged commit d996a72 into openshift:release-4.19 Nov 28, 2026
15 checks passed
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@openshift-cherrypick-robot: Jira Issue OCPBUGS-134764: All pull requests linked via external trackers have merged:

This pull request has the verified-later tag and will need to be manually moved to VERIFIED after testing. Jira Issue OCPBUGS-134764 has been moved to the MODIFIED state.

Details

In response to this:

This is an automated cherry-pick of #6669

/assign openshift-cherrypick-robot

/cherrypick release-4.18

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-cherrypick-robot

Copy link
Copy Markdown
Author

@openshift-cherrypick-robot: new pull request created: #6798

Details

In response to this:

This is an automated cherry-pick of #6669

/assign openshift-cherrypick-robot

/cherrypick release-4.18

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.

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. backport-risk-assessed Indicates a PR to a release branch has been evaluated and considered safe to accept. chai-risk-assessment/critical Chai risk assessment of the latest commit: critical (may disrupt clusters if wrong). jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. verified Signifies that the PR passed pre-merge verification criteria verified-later

Projects

None yet

Development

Successfully merging this pull request may close these issues.