Skip to content

CNTRLPLANE-3871: promote OSStreams feature gate to Default for Hypershift - #2993

Open
jparrill wants to merge 1 commit into
openshift:masterfrom
jparrill:CNTRLPLANE-3871-graduation
Open

CNTRLPLANE-3871: promote OSStreams feature gate to Default for Hypershift#2993
jparrill wants to merge 1 commit into
openshift:masterfrom
jparrill:CNTRLPLANE-3871-graduation

Conversation

@jparrill

Copy link
Copy Markdown
Contributor

Summary

Context

The previous submission (#2950) was reverted because MCC bootstrap performed network-based image inspection through the guest cluster's proxy, which is unreachable from the management cluster. The MCO fix (openshift/machine-config-operator#6420) skips network discovery in ExternalTopologyMode and builds OSImageStream status from the ControllerConfig's already-resolved OS images.

Dependencies

Test plan

  • Verify hypershift-e2e-aws passes (specifically TestCreateClusterProxy)
  • Verify standalone cluster tests are unaffected
  • Verify feature gate tables in generated YAMLs are correct

🤖 Generated with Claude Code

…Hypershift

With the MCO ExternalTopologyMode guard removed
(openshift/machine-config-operator#6308), HyperShift clusters can now
process OSImageStream during bootstrap. This graduates the OSStreams
feature gate from TechPreviewNoUpgrade to Default for the Hypershift
cluster profile, enabling RHEL 9/10 dual-stream support for hosted
control planes by default.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Juan Manuel Parrilla Madrid <jparrill@redhat.com>

rh-pre-commit.version: 2.4.0
rh-pre-commit.check-secrets: ENABLED

Signed-off-by: Juan Manuel Parrilla Madrid <jparrill@redhat.com>
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Aug 19, 2026
@openshift-ci-robot

openshift-ci-robot commented Aug 19, 2026

Copy link
Copy Markdown

@jparrill: This pull request references CNTRLPLANE-3871 which is a valid jira issue.

Details

In response to this:

Summary

Context

The previous submission (#2950) was reverted because MCC bootstrap performed network-based image inspection through the guest cluster's proxy, which is unreachable from the management cluster. The MCO fix (openshift/machine-config-operator#6420) skips network discovery in ExternalTopologyMode and builds OSImageStream status from the ControllerConfig's already-resolved OS images.

Dependencies

Test plan

  • Verify hypershift-e2e-aws passes (specifically TestCreateClusterProxy)
  • Verify standalone cluster tests are unaffected
  • Verify feature gate tables in generated YAMLs are correct

🤖 Generated with Claude Code

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-merge-bot

Copy link
Copy Markdown
Contributor

Pipeline controller notification
This repo is configured to use the pipeline controller. Second-stage tests will be triggered either automatically or after lgtm label is added, depending on the repository configuration. The pipeline controller will automatically detect which contexts are required and will utilize /test Prow commands to trigger the second stage.

For optional jobs, comment /test ? to see a list of all defined jobs. To trigger manually all jobs from second stage use /pipeline required command.

This repository is configured in: LGTM mode

@openshift-ci

openshift-ci Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Hello @jparrill! Some important instructions when contributing to openshift/api:
API design plays an important part in the user experience of OpenShift and as such API PRs are subject to a high level of scrutiny to ensure they follow our best practices. If you haven't already done so, please review the OpenShift API Conventions and ensure that your proposed changes are compliant. Following these conventions will help expedite the api review process for your PR.

@jparrill jparrill changed the title feat: CNTRLPLANE-3871: promote OSStreams feature gate to Default for Hypershift CNTRLPLANE-3871: promote OSStreams feature gate to Default for Hypershift Aug 19, 2026
@openshift-ci openshift-ci Bot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Aug 19, 2026
@coderabbitai

coderabbitai Bot commented Aug 19, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: d3d985ed-44eb-49fd-ae0f-f465402e31f3

📥 Commits

Reviewing files that changed from the base of the PR and between af5c920 and ef49c15.

⛔ Files ignored due to path filters (10)
  • machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfigpools-Hypershift-CustomNoUpgrade.crd.yaml is excluded by !**/zz_generated.crd-manifests/*
  • machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfigpools-Hypershift-Default.crd.yaml is excluded by !**/zz_generated.crd-manifests/*
  • machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfigpools-Hypershift-DevPreviewNoUpgrade.crd.yaml is excluded by !**/zz_generated.crd-manifests/*
  • machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfigpools-Hypershift-OKD.crd.yaml is excluded by !**/zz_generated.crd-manifests/*
  • machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfigpools-Hypershift-TechPreviewNoUpgrade.crd.yaml is excluded by !**/zz_generated.crd-manifests/*
  • machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfigpools.crd.yaml is excluded by !**/zz_generated.crd-manifests/*
  • machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_osimagestreams-Hypershift.crd.yaml is excluded by !**/zz_generated.crd-manifests/*
  • machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_osimagestreams.crd.yaml is excluded by !**/zz_generated.crd-manifests/*
  • machineconfiguration/v1alpha1/zz_generated.crd-manifests/0000_80_machine-config_01_osimagestreams-Hypershift.crd.yaml is excluded by !**/zz_generated.crd-manifests/*
  • machineconfiguration/v1alpha1/zz_generated.crd-manifests/0000_80_machine-config_01_osimagestreams.crd.yaml is excluded by !**/zz_generated.crd-manifests/*
📒 Files selected for processing (12)
  • features.md
  • features/features.go
  • payload-manifests/crds/0000_80_machine-config_01_machineconfigpools-Hypershift-CustomNoUpgrade.crd.yaml
  • payload-manifests/crds/0000_80_machine-config_01_machineconfigpools-Hypershift-Default.crd.yaml
  • payload-manifests/crds/0000_80_machine-config_01_machineconfigpools-Hypershift-DevPreviewNoUpgrade.crd.yaml
  • payload-manifests/crds/0000_80_machine-config_01_machineconfigpools-Hypershift-OKD.crd.yaml
  • payload-manifests/crds/0000_80_machine-config_01_machineconfigpools-Hypershift-TechPreviewNoUpgrade.crd.yaml
  • payload-manifests/crds/0000_80_machine-config_01_machineconfigpools.crd.yaml
  • payload-manifests/crds/0000_80_machine-config_01_osimagestreams-Hypershift.crd.yaml
  • payload-manifests/crds/0000_80_machine-config_01_osimagestreams.crd.yaml
  • payload-manifests/featuregates/featureGate-4-10-Hypershift-Default.yaml
  • payload-manifests/featuregates/featureGate-4-10-Hypershift-OKD.yaml
💤 Files with no reviewable changes (6)
  • payload-manifests/crds/0000_80_machine-config_01_osimagestreams-Hypershift.crd.yaml
  • payload-manifests/crds/0000_80_machine-config_01_machineconfigpools-Hypershift-OKD.crd.yaml
  • payload-manifests/crds/0000_80_machine-config_01_machineconfigpools-Hypershift-TechPreviewNoUpgrade.crd.yaml
  • payload-manifests/crds/0000_80_machine-config_01_machineconfigpools-Hypershift-CustomNoUpgrade.crd.yaml
  • payload-manifests/crds/0000_80_machine-config_01_machineconfigpools-Hypershift-DevPreviewNoUpgrade.crd.yaml
  • payload-manifests/crds/0000_80_machine-config_01_machineconfigpools-Hypershift-Default.crd.yaml

Included review availability: Your plan provides up to 12 included reviews per hour; 10 remain after this review.


📝 Walkthrough

Walkthrough

OSStreams enablement now covers development preview, technology preview, default, and OKD configurations. Hypershift Default and OKD payload feature gates enable OSStreams. Hypershift-specific MachineConfigPool and OSImageStream CRD manifests were removed. The remaining MachineConfigPool and OSImageStream CRDs now include IBM Cloud managed release annotations. The feature table reflects enabled status across the listed platform and release profiles.

Possibly related PRs

  • openshift/api#2989: Directly reverses related OSStreams changes by removing Hypershift CRDs and re-enabling OSStreams for Hypershift Default and OKD.

Suggested reviewers: everettraven, joelspeed

Merge Risk: 🔵 Low · up to ef49c

This change enables OSStreams by default for Hypershift and depends on the corresponding bootstrap fix being included in the tested release. The PR is mergeable with owner awareness, but that dependency and the Hypershift bootstrap test should be confirmed before merging.

🚥 Pre-merge checks | ✅ 15
✅ Passed checks (15 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the promotion of the OSStreams feature gate to Default for Hypershift.
Description check ✅ Passed The description explains the feature promotion, implementation changes, dependency, context, and planned tests.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Stable And Deterministic Test Names ✅ Passed The commit changes feature metadata and manifests only; it adds no *_test.go files or Ginkgo title calls, so it introduces no unstable test names.
Test Structure And Quality ✅ Passed The PR changes feature metadata and generated YAML manifests only; the verified diff contains no Ginkgo or test implementation changes to assess against these requirements.
Microshift Test Compatibility ✅ Passed The PR adds no Ginkgo e2e tests. The diff contains only feature declarations and manifests, so MicroShift test compatibility is not applicable.
Single Node Openshift (Sno) Test Compatibility ✅ Passed The diff adds no Ginkgo tests or test files; it changes feature declarations and CRD/feature-gate manifests only, so SNO test compatibility is not applicable.
Topology-Aware Scheduling Compatibility ✅ Passed The diff changes feature-gate declarations and CRD/feature-gate YAML only. It adds no deployments, controllers, or topology-related scheduling constraints.
Ote Binary Stdout Contract ✅ Passed The diff changes one feature-gate initializer and manifests only; it adds no main/init/TestMain/Ginkgo setup or stdout write.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed The pull request changes feature gates and CRD manifests only; the diff adds no *_test.go files or Ginkgo It/Describe/Context/When tests to assess.
No-Weak-Crypto ✅ Passed The PR changes feature-gate and CRD metadata only; the exact added-line scan found no MD5, SHA1, DES, RC4, 3DES, Blowfish, ECB, custom crypto, or secret-comparison code.
Container-Privileges ✅ Passed The PR diff only changes feature gates and CRD manifests; added-line and final-file scans found no privileged:true, hostPID, hostNetwork, hostIPC, SYS_ADMIN, or allowPrivilegeEscalation:true.
No-Sensitive-Data-In-Logs ✅ Passed The HEAD diff changes feature declarations, tables, and CRD/feature-gate YAML only; added-line and AST searches found no logging calls or sensitive values.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 golangci-lint (2.12.2)

Error: build linters: unable to load custom analyzer "kubeapilinter": tools/_output/bin/kube-api-linter.so, plugin: not implemented
The command is terminated due to an error: build linters: unable to load custom analyzer "kubeapilinter": tools/_output/bin/kube-api-linter.so, plugin: not implemented


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

@openshift-ci
openshift-ci Bot requested review from everettraven and jkyros August 19, 2026 10:04
@openshift-ci

openshift-ci Bot commented Aug 19, 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 everettraven 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

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

Labels

jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants