mboersma / cluster-api-charts

Helm charts to provision workload clusters for Cluster API Providers
Apache License 2.0
2 stars 6 forks source link

AKS ASO managed cluster wrong API version #24

Closed dtzar closed 2 months ago

dtzar commented 3 months ago

Try to deploy a cluster and it gives you these errors:

Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: [resource mapping not found for name: "capz-aso" namespace: "" from "": no matches for kind "AzureASOManagedCluster" in version "infrastructure.cluster.x-k8s.io/v1beta1"
ensure CRDs are installed first, resource mapping not found for name: "capz-aso" namespace: "" from "": no matches for kind "AzureASOManagedControlPlane" in version "infrastructure.cluster.x-k8s.io/v1beta1"
ensure CRDs are installed first, resource mapping not found for name: "capz-aso-pool0" namespace: "" from "": no matches for kind "AzureASOManagedMachinePool" in version "infrastructure.cluster.x-k8s.io/v1beta1"
ensure CRDs are installed first, resource mapping not found for name: "capz-aso-pool1" namespace: "" from "": no matches for kind "AzureASOManagedMachinePool" in version "infrastructure.cluster.x-k8s.io/v1beta1"
ensure CRDs are installed first]

The v1alpha1 is what needs to be used, per what is there in the sample flavor.