Skip to content

OCPBUGS-74506: Remove ConsolePluginSecurityPolicy featuregate#16013

Merged
openshift-merge-bot[bot] merged 1 commit intoopenshift:mainfrom
jhadvig:OCPBUGS-74506
Apr 2, 2026
Merged

OCPBUGS-74506: Remove ConsolePluginSecurityPolicy featuregate#16013
openshift-merge-bot[bot] merged 1 commit intoopenshift:mainfrom
jhadvig:OCPBUGS-74506

Conversation

@jhadvig
Copy link
Copy Markdown
Member

@jhadvig jhadvig commented Feb 10, 2026

This PR needs to get merged together with console-operator PR in order to get openshift/api#2683 merged

/assign @TheRealJon
@spadgett FYI

Summary by CodeRabbit

  • New Features

    • Added KMSEncryption feature gate support for API server encryption.
    • Added IBMCloud and External as supported platform types.
  • Deprecations

    • Removed ConsolePluginContentSecurityPolicy feature gate.
  • Improvements

    • Enhanced boot image validation rules for automatic mode.
    • Updated API documentation and validation descriptions for improved clarity.

@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. labels Feb 10, 2026
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@jhadvig: This pull request references Jira Issue OCPBUGS-74506, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.22.0) matches configured target version for branch (4.22.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @yapei

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

Details

In response to this:

This PR needs to get merged together with console-operator PR in order to get openshift/api#2683 merged

/assign @TheRealJon
@spadgett FYI

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 yapei February 10, 2026 15:20
@openshift-ci openshift-ci bot requested review from rhamilto and spadgett February 10, 2026 15:22
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 10, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Feb 10, 2026

📝 Walkthrough

Walkthrough

The pull request updates the vendored OpenShift API dependency source from github.com/openshift/api to github.com/jhadvig/api with new pseudo-versions. It introduces KMSEncryption feature gate annotations to the API server configuration, removes the ConsolePluginContentSecurityPolicy feature gate from console plugins, and updates enum validation metadata for ConsoleSampleSourceType. Documentation comments and Swagger descriptions across authentication, infrastructure, and API server types are reformatted for clarity. Platform type enumerations are expanded to include IBMCloud and External options, and machine configuration validation rules are refined to enforce stricter constraints on managed boot images in Automatic mode.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: removing the ConsolePluginSecurityPolicy feature gate, which is reflected in the vendor changes removing the annotation and updating feature gate lists.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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

@jhadvig
Copy link
Copy Markdown
Member Author

jhadvig commented Feb 10, 2026

/retest

@jhadvig
Copy link
Copy Markdown
Member Author

jhadvig commented Feb 11, 2026

/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 11, 2026
@jhadvig jhadvig closed this Feb 12, 2026
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@jhadvig: This pull request references Jira Issue OCPBUGS-74506. The bug has been updated to no longer refer to the pull request using the external bug tracker.

Details

In response to this:

This PR needs to get merged together with console-operator PR in order to get openshift/api#2683 merged

/assign @TheRealJon
@spadgett FYI

Summary by CodeRabbit

  • New Features

  • Added KMSEncryption feature gate support for API server encryption.

  • Added IBMCloud and External as supported platform types.

  • Deprecations

  • Removed ConsolePluginContentSecurityPolicy feature gate.

  • Improvements

  • Enhanced boot image validation rules for automatic mode.

  • Updated API documentation and validation descriptions for improved clarity.

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.

@jhadvig jhadvig reopened this Feb 12, 2026
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@jhadvig: This pull request references Jira Issue OCPBUGS-74506, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.22.0) matches configured target version for branch (4.22.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @yapei

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

Details

In response to this:

This PR needs to get merged together with console-operator PR in order to get openshift/api#2683 merged

/assign @TheRealJon
@spadgett FYI

Summary by CodeRabbit

  • New Features

  • Added KMSEncryption feature gate support for API server encryption.

  • Added IBMCloud and External as supported platform types.

  • Deprecations

  • Removed ConsolePluginContentSecurityPolicy feature gate.

  • Improvements

  • Enhanced boot image validation rules for automatic mode.

  • Updated API documentation and validation descriptions for improved clarity.

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 added the component/backend Related to backend label Feb 12, 2026
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Feb 12, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jhadvig

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

Copy link
Copy Markdown
Contributor

@krishagarwal278 krishagarwal278 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed this PR and lgtm from my end but i'll let @TheRealJon tag 👍🏻 😄

@yapei
Copy link
Copy Markdown
Contributor

yapei commented Mar 6, 2026

  • There is no contentSecurityPolicyEnabled: true in cm/console-config
  • content-security-policy-enabled flag no longer exist in bin/bridge
  • regression testing about dynamic plugin triggering CSP features pass, CSP settings can be successfully applied & removed and synced to cm/console-config

/verified by @yapei

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Mar 6, 2026
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@yapei: This PR has been marked as verified by @yapei.

Details

In response to this:

  • There is no contentSecurityPolicyEnabled: true in cm/console-config
  • content-security-policy-enabled flag no longer exist in bin/bridge
  • regression testing about dynamic plugin triggering CSP features pass, CSP settings can be successfully applied & removed and synced to cm/console-config

/verified by @yapei

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.

@jhadvig
Copy link
Copy Markdown
Member Author

jhadvig commented Apr 2, 2026

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 2, 2026
@jhadvig jhadvig added lgtm Indicates that a PR is ready to be merged. plugin-api-approved Indicates a PR with plugin API changes has been approved by an API reviewer labels Apr 2, 2026
@openshift-merge-bot
Copy link
Copy Markdown
Contributor

/retest-required

Remaining retests: 0 against base HEAD 95a8713 and 2 for PR HEAD 3eb7b68 in total

@jhadvig
Copy link
Copy Markdown
Member Author

jhadvig commented Apr 2, 2026

Flakes
/override ci/prow/e2e-gcp-console

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Apr 2, 2026

@jhadvig: Overrode contexts on behalf of jhadvig: ci/prow/e2e-gcp-console

Details

In response to this:

Flakes
/override ci/prow/e2e-gcp-console

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.

@openshift-merge-bot openshift-merge-bot bot merged commit ab5ef8b into openshift:main Apr 2, 2026
8 checks passed
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@jhadvig: Jira Issue OCPBUGS-74506: Some pull requests linked via external trackers have merged:

The following pull request, linked via external tracker, has not merged:

All associated pull requests must be merged or unlinked from the Jira bug in order for it to move to the next state. Once unlinked, request a bug refresh with /jira refresh.

Jira Issue OCPBUGS-74506 has not been moved to the MODIFIED state.

This PR is marked as verified. If the remaining PRs listed above are marked as verified before merging, the issue will automatically be moved to VERIFIED after all of the changes from the PRs are available in an accepted nightly payload.

Details

In response to this:

This PR needs to get merged together with console-operator PR in order to get openshift/api#2683 merged

/assign @TheRealJon
@spadgett FYI

Summary by CodeRabbit

  • New Features

  • Added KMSEncryption feature gate support for API server encryption.

  • Added IBMCloud and External as supported platform types.

  • Deprecations

  • Removed ConsolePluginContentSecurityPolicy feature gate.

  • Improvements

  • Enhanced boot image validation rules for automatic mode.

  • Updated API documentation and validation descriptions for improved clarity.

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
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Apr 2, 2026

@jhadvig: 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.

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. component/backend Related to backend 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. plugin-api-approved Indicates a PR with plugin API changes has been approved by an API reviewer verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants