Skip to content

Update the cluster templates with the latest changes added in cluster-api version 1.11.0-alpha.2 #2414

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Amulyam24
Copy link
Contributor

@Amulyam24 Amulyam24 commented Jul 3, 2025

What this PR does / why we need it:
Update the cluster templates with the latest changes added in cluster-api version 1.11.0-alpha.2

errors on template deployment

Error from server (BadRequest): error when creating "first.yaml": Cluster in version "v1beta2" cannot be handled as a Cluster: strict decoding error: unknown field "spec.controlPlaneRef.apiVersion", unknown field "spec.infrastructureRef.apiVersion"
Error from server (BadRequest): error when creating "first.yaml": KubeadmControlPlane in version "v1beta2" cannot be handled as a KubeadmControlPlane: strict decoding error: unknown field "spec.machineTemplate.infrastructureRef.apiVersion"
Error from server (BadRequest): error when creating "first.yaml": MachineDeployment in version "v1beta2" cannot be handled as a MachineDeployment: strict decoding error: unknown field "spec.template.spec.bootstrap.configRef.apiVersion", unknown field "spec.template.spec.infrastructureRef.apiVersion"
Error from server (Invalid): error when creating "first.yaml": KubeadmConfigTemplate.bootstrap.cluster.x-k8s.io "ibm-powervs-1-md-0" is invalid: spec.template.spec.joinConfiguration.discovery.bootstrapToken.token: Invalid value: "": spec.template.spec.joinConfiguration.discovery.bootstrapToken.token in body should be at least 1 chars long

Error from server (BadRequest): error when creating "vpc-cc.yaml": Cluster in version "v1beta2" cannot be handled as a Cluster: strict decoding error: unknown field "spec.topology.class"
Error from server (BadRequest): error when creating "vpc-cc.yaml": ClusterClass in version "v1beta2" cannot be handled as a ClusterClass: strict decoding error: unknown field "spec.controlPlane.machineInfrastructure.ref.namespace", unknown field "spec.controlPlane.ref.namespace", unknown field "spec.infrastructure.ref.namespace"
Error from server (BadRequest): error when creating "vpc-cc.yaml": KubeadmControlPlaneTemplate in version "v1beta2" cannot be handled as a KubeadmControlPlaneTemplate: strict decoding error: unknown field "spec.template.spec.kubeadmConfigSpec.clusterConfiguration.kubernetesVersion"

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 #

Special notes for your reviewer:

/area provider/ibmcloud

  1. Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Release note:

Update the cluster templates with the latest changes added in cluster-api version 1.11.0-alpha.2

@k8s-ci-robot k8s-ci-robot added area/provider/ibmcloud Issues or PRs related to ibmcloud provider cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Jul 3, 2025
@k8s-ci-robot k8s-ci-robot requested a review from Karthik-K-N July 3, 2025 09:17
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Amulyam24
Once this PR has been reviewed and has the lgtm label, please assign mkumatag for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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 requested a review from mkumatag July 3, 2025 09:17
Copy link

netlify bot commented Jul 3, 2025

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

Name Link
🔨 Latest commit 28f6db3
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-sigs-cluster-api-ibmcloud/deploys/6867945afcf6540008aa2fb0
😎 Deploy Preview https://deploy-preview-2414.cluster-api-ibmcloud.sigs.k8s.io
📱 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 size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jul 3, 2025
@Amulyam24
Copy link
Contributor Author

/hold for VPC cluster testing

@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 Jul 3, 2025
@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jul 4, 2025
@Amulyam24
Copy link
Contributor Author

/unhold

@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 Jul 4, 2025
@Amulyam24
Copy link
Contributor Author

PR is ready for review

@Amulyam24
Copy link
Contributor Author

/cc @Prajyot-Parab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/provider/ibmcloud Issues or PRs related to ibmcloud provider cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants