Skip to content

⚠️ Migrate controllers and types to CAPI v1beta2 conditions#2986

Draft
bnallapeta wants to merge 9 commits intokubernetes-sigs:mainfrom
bnallapeta:v1beta2-controllers
Draft

⚠️ Migrate controllers and types to CAPI v1beta2 conditions#2986
bnallapeta wants to merge 9 commits intokubernetes-sigs:mainfrom
bnallapeta:v1beta2-controllers

Conversation

@bnallapeta
Copy link
Contributor

What this PR does / why we need it:
This PR completes the migration to Cluster API v1beta2 conditions contract by updating all controllers, service layer, and tests to use the new conditions API.

minor additional change: all generated code updated to 2026 copyright year.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #2942 part of #2895

Special notes for your reviewer:

  • PR # 4 as per ✨ Implement CAPI v1beta2 contract support with api/v1beta2 #2895 plan
  • The migration maintains backward compatibility for v1alpha1 types (e.g., OpenStackServer.Status.Ready still set for predicates)
  • The v1beta1 types remain as conversion hub (storage version) until full migration complete
  • Once the first 3 PRs are merged, I will then do the conversion changes.

/hold

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 2, 2026
@netlify
Copy link

netlify bot commented Feb 2, 2026

Deploy Preview for kubernetes-sigs-cluster-api-openstack ready!

Name Link
🔨 Latest commit ea2642d
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-sigs-cluster-api-openstack/deploys/69ae8f7ac4e2f50008430878
😎 Deploy Preview https://deploy-preview-2986--kubernetes-sigs-cluster-api-openstack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 2, 2026
@k8s-ci-robot
Copy link
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 vincepri 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

@k8s-ci-robot k8s-ci-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Feb 2, 2026
Signed-off-by: Bharath Nallapeta <nr.bharath97@gmail.com>
Signed-off-by: Bharath Nallapeta <nr.bharath97@gmail.com>
Signed-off-by: Bharath Nallapeta <nr.bharath97@gmail.com>
Signed-off-by: Bharath Nallapeta <nr.bharath97@gmail.com>
Signed-off-by: Bharath Nallapeta <nr.bharath97@gmail.com>
Signed-off-by: Bharath Nallapeta <nr.bharath97@gmail.com>
Signed-off-by: Bharath Nallapeta <nr.bharath97@gmail.com>
Signed-off-by: Bharath Nallapeta <nr.bharath97@gmail.com>
@bnallapeta bnallapeta force-pushed the v1beta2-controllers branch from 377fe64 to 581f0c7 Compare March 9, 2026 02:06
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 9, 2026
Signed-off-by: Bharath Nallapeta <nr.bharath97@gmail.com>
@bnallapeta
Copy link
Contributor Author

/test pull-cluster-api-provider-openstack-e2e-test

@k8s-ci-robot
Copy link
Contributor

@bnallapeta: 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
pull-cluster-api-provider-openstack-e2e-test ea2642d link true /test pull-cluster-api-provider-openstack-e2e-test

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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.

@bnallapeta bnallapeta marked this pull request as draft March 10, 2026 05:47
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

Update controllers to use conditions instead of deprecated fields

2 participants