Skip to content

Conversation

@chrischdi
Copy link
Member

What this PR does / why we need it:

Bumps the CAPI controller version used in tests to ~main (nightly 20250514)

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 #

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label May 15, 2025
@k8s-ci-robot k8s-ci-robot requested review from MaxRink and yastij May 15, 2025 07:16
@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label May 15, 2025
@chrischdi chrischdi changed the title 🌱 Bump CAPI in tests to main 🌱 Bump CAPI in tests to main targetting v1.11 May 15, 2025
@chrischdi chrischdi changed the title 🌱 Bump CAPI in tests to main targetting v1.11 🌱 Bump CAPI in tests to main (v1.11) May 15, 2025
@chrischdi
Copy link
Member Author

/hold

for team-cluster-api#91

@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 May 15, 2025
@chrischdi chrischdi force-pushed the pr-bump-capi-to-main branch from 5271286 to 166c60e Compare May 19, 2025 15:40
@k8s-ci-robot k8s-ci-robot added needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels May 19, 2025
@chrischdi chrischdi force-pushed the pr-bump-capi-to-main branch from f352deb to 4899d07 Compare May 27, 2025 08:10
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/invalid-commit-message Indicates that a PR should not merge because it has an invalid commit message. label May 27, 2025
@chrischdi
Copy link
Member Author

/override pull-cluster-api-provider-vsphere-e2e-govmomi-blocking-main
/override pull-cluster-api-provider-vsphere-e2e-supervisor-blocking-main

Needs #3473

@k8s-ci-robot
Copy link
Contributor

@chrischdi: Overrode contexts on behalf of chrischdi: pull-cluster-api-provider-vsphere-e2e-govmomi-blocking-main, pull-cluster-api-provider-vsphere-e2e-supervisor-blocking-main

In response to this:

/override pull-cluster-api-provider-vsphere-e2e-govmomi-blocking-main
/override pull-cluster-api-provider-vsphere-e2e-supervisor-blocking-main

Needs #3473

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.

@chrischdi
Copy link
Member Author

/override pull-cluster-api-provider-vsphere-e2e-govmomi-blocking-main
/override pull-cluster-api-provider-vsphere-e2e-supervisor-blocking-main

Needs #3473

@k8s-ci-robot
Copy link
Contributor

@chrischdi: Overrode contexts on behalf of chrischdi: pull-cluster-api-provider-vsphere-e2e-govmomi-blocking-main, pull-cluster-api-provider-vsphere-e2e-supervisor-blocking-main

In response to this:

/override pull-cluster-api-provider-vsphere-e2e-govmomi-blocking-main
/override pull-cluster-api-provider-vsphere-e2e-supervisor-blocking-main

Needs #3473

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.

ctx = ctrl.LoggerInto(ctx, log)

if conditions.IsTrue(cluster, clusterv1.ControlPlaneInitializedCondition) {
if conditionsv1beta1.IsTrue(cluster, clusterv1.ControlPlaneInitializedV1Beta1Condition) {
Copy link
Member

Choose a reason for hiding this comment

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

Q: since this is condition from the CAPI cluster object which has an equivalent metav1 condition, what about using the new one?

clusterutilv1 "sigs.k8s.io/cluster-api/util"
"sigs.k8s.io/cluster-api/util/conditions"
v1beta2conditions "sigs.k8s.io/cluster-api/util/conditions/v1beta2"
conditionsv1beta1 "sigs.k8s.io/cluster-api/util/conditions/deprecated/v1beta1"
Copy link
Member

Choose a reason for hiding this comment

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

TBH, I do not expect CAPV to use this import (see note where this import is used)

As alternative, let's add an import alias so we can track usage.

Copy link
Member Author

Choose a reason for hiding this comment

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

Jep, missed these two occurencies to move to the new conditions :-)

clusterutilv1 "sigs.k8s.io/cluster-api/util"
"sigs.k8s.io/cluster-api/util/conditions"
v1beta2conditions "sigs.k8s.io/cluster-api/util/conditions/v1beta2"
conditionsv1beta1 "sigs.k8s.io/cluster-api/util/conditions/deprecated/v1beta1"
Copy link
Member

Choose a reason for hiding this comment

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

Same as in the other file, let's consider to transition to v1beta2 conditions when looking at core CAPI objects

@chrischdi
Copy link
Member Author

/override pull-cluster-api-provider-vsphere-e2e-govmomi-blocking-main
/override pull-cluster-api-provider-vsphere-e2e-supervisor-blocking-main

Needs #3473

@k8s-ci-robot
Copy link
Contributor

@chrischdi: Overrode contexts on behalf of chrischdi: pull-cluster-api-provider-vsphere-e2e-govmomi-blocking-main, pull-cluster-api-provider-vsphere-e2e-supervisor-blocking-main

In response to this:

/override pull-cluster-api-provider-vsphere-e2e-govmomi-blocking-main
/override pull-cluster-api-provider-vsphere-e2e-supervisor-blocking-main

Needs #3473

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.

@sbueringer
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 27, 2025
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 7359ca91228db2799c42d0f112a75ccc35cb41a6

@chrischdi
Copy link
Member Author

/override pull-cluster-api-provider-vsphere-e2e-govmomi-blocking-main
/override pull-cluster-api-provider-vsphere-e2e-supervisor-blocking-main

@k8s-ci-robot
Copy link
Contributor

@chrischdi: Overrode contexts on behalf of chrischdi: pull-cluster-api-provider-vsphere-e2e-govmomi-blocking-main, pull-cluster-api-provider-vsphere-e2e-supervisor-blocking-main

In response to this:

/override pull-cluster-api-provider-vsphere-e2e-govmomi-blocking-main
/override pull-cluster-api-provider-vsphere-e2e-supervisor-blocking-main

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.

@chrischdi
Copy link
Member Author

/retest

@fabriziopandini
Copy link
Member

/lgtm
/approve

Pending CI

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fabriziopandini

The full list of commands accepted by this bot can be found here.

The pull request process is described here

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 the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 27, 2025
@chrischdi
Copy link
Member Author

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 27, 2025
@k8s-ci-robot k8s-ci-robot merged commit 568ac33 into kubernetes-sigs:main May 27, 2025
16 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.14 milestone May 27, 2025
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants