Skip to content

NO-JIRA: IPAM CRDs: Use negated feature-gate: -ClusterAPIMachineManagement instead of feature-set: Default#273

Merged
openshift-merge-bot[bot] merged 2 commits intoopenshift:masterfrom
damdo:use-negated-featuregate
Mar 31, 2026
Merged

NO-JIRA: IPAM CRDs: Use negated feature-gate: -ClusterAPIMachineManagement instead of feature-set: Default#273
openshift-merge-bot[bot] merged 2 commits intoopenshift:masterfrom
damdo:use-negated-featuregate

Conversation

@damdo
Copy link
Copy Markdown
Member

@damdo damdo commented Mar 31, 2026

Instead of using the Default feature-set, we want to use a negated feature-gate, as we want to deploy these resources only when the Feature Gate is off.

As such when the FeatureGate is on/on promotion they are deployed/managed by the CAPI Installer controller in cluster-capi-operator.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Mar 31, 2026
@openshift-ci-robot
Copy link
Copy Markdown

@damdo: This pull request explicitly references no jira issue.

Details

In response to this:

Instead of using the Default feature-set, we want to use a negated feature-gate, as we want to deploy these resources only when the Feature Gate is off.

As such when the FeatureGate is on/on promotion they are deployed/managed by the CAPI Installer controller in cluster-capi-operator.

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.

@damdo
Copy link
Copy Markdown
Member Author

damdo commented Mar 31, 2026

/assign @JoelSpeed @mdbooth @theobarberbany

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 31, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 95d1ec1f-3150-4f0a-8831-3c2e9500dd55

📥 Commits

Reviewing files that changed from the base of the PR and between ee74192 and 25387a8.

📒 Files selected for processing (2)
  • openshift/ipam/kustomization.yaml
  • openshift/manifests/0000_30_cluster-api_04_crd.core-cluster-api.yaml

Walkthrough

Updated release annotations in ClusterAPI IPAM configuration files by replacing feature-set eligibility restrictions with feature-gate restrictions. Changed release.openshift.io/feature-set: Default to release.openshift.io/feature-gate: -ClusterAPIMachineManagement across kustomization and CRD manifest files, altering install eligibility logic.

Changes

Cohort / File(s) Summary
ClusterAPI IPAM Feature Gate Annotations
openshift/ipam/kustomization.yaml, openshift/manifests/0000_30_cluster-api_04_crd.core-cluster-api.yaml
Updated commonAnnotations and CRD metadata to replace release.openshift.io/feature-set: Default with release.openshift.io/feature-gate: -ClusterAPIMachineManagement, changing install eligibility from feature-set based to feature-gate based restriction.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 31, 2026
@theobarberbany
Copy link
Copy Markdown

TIL we can negate CVO feature gates

/lgtm
/approve

@JoelSpeed
Copy link
Copy Markdown

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 31, 2026
@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Mar 31, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: damdo, theobarberbany

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:
  • OWNERS [damdo,theobarberbany]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 31, 2026

Caution

Review failed

An error occurred during the review process. Please try again later.

Walkthrough

Updated release annotations in ClusterAPI IPAM configuration files by replacing feature-set eligibility restrictions with feature-gate restrictions. Changed release.openshift.io/feature-set: Default to release.openshift.io/feature-gate: -ClusterAPIMachineManagement across kustomization and CRD manifest files, altering install eligibility logic.

Changes

Cohort / File(s) Summary
ClusterAPI IPAM Feature Gate Annotations
openshift/ipam/kustomization.yaml, openshift/manifests/0000_30_cluster-api_04_crd.core-cluster-api.yaml
Updated commonAnnotations and CRD metadata to replace release.openshift.io/feature-set: Default with release.openshift.io/feature-gate: -ClusterAPIMachineManagement, changing install eligibility from feature-set based to feature-gate based restriction.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Mar 31, 2026

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

@damdo
Copy link
Copy Markdown
Member Author

damdo commented Mar 31, 2026

/verified by ci/prow/e2e-vsphere-staticip-ipam-ovn passing

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

@damdo: This PR has been marked as verified by ci/prow/e2e-vsphere-staticip-ipam-ovn passing.

Details

In response to this:

/verified by ci/prow/e2e-vsphere-staticip-ipam-ovn passing

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 openshift-merge-bot bot merged commit c11cf5d into openshift:master Mar 31, 2026
20 checks passed
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. 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants