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 chart fails to install #13

Closed mboersma closed 6 months ago

mboersma commented 6 months ago

Following our general instructions, the AKS-ASO chart failed to install because the ASOAPI CRDs aren't installed:

% clusterctl init --infrastructure azure
% helm repo add capi https://mboersma.github.io/cluster-api-charts 
% helm repo update
% helm install aks-aso capi/azure-aks-aso --dry-run
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: [resource mapping not found for name: "aks-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: "aks-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: "aks-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: "aks-aso-pool1" namespace: "" from "": no matches for kind "AzureASOManagedMachinePool" in version "infrastructure.cluster.x-k8s.io/v1beta1"
ensure CRDs are installed first]
nojnhuh commented 6 months ago

The API version should be v1alpha1 instead of v1beta1. I might've missed that when I first opened the PR.