Skip to content

Commit

Permalink
fix api version errors, 1.30.3 default k8s version
Browse files Browse the repository at this point in the history
  • Loading branch information
dtzar committed Aug 24, 2024
1 parent 93166a8 commit 6b6da4b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion charts/azure-aks-aso/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: azure-aks-aso
description: A chart describing an AKS cluster for CAPZ using the ASO API
type: application
version: 0.1.0
version: 0.2.0
appVersion: 0.1.0
maintainers:
- name: mboersma
Expand Down
12 changes: 6 additions & 6 deletions charts/azure-aks-aso/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ spec:
{{- end }}
{{- else }}
controlPlaneRef:
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1
kind: AzureASOManagedControlPlane
name: {{ include "capz.clusterName" . | quote }}
infrastructureRef:
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1
kind: AzureASOManagedCluster
name: {{ include "capz.clusterName" . | quote }}
---
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1
kind: AzureASOManagedCluster
metadata:
name: {{ include "capz.clusterName" . | quote }}
Expand All @@ -39,7 +39,7 @@ metadata:
spec:
{{- include "capz.azureASOManagedClusterSpec" (list $ (include "capz.clusterName" $)) | nindent 2 }}
---
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1
kind: AzureASOManagedControlPlane
metadata:
name: {{ include "capz.clusterName" . | quote }}
Expand Down Expand Up @@ -68,12 +68,12 @@ spec:
dataSecretName: ""
clusterName: {{ include "capz.clusterName" $ }}
infrastructureRef:
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1
kind: AzureASOManagedMachinePool
name: {{ printf "%s-%s" (include "capz.clusterName" $) $mpName | quote }}
version: {{ default $.Values.kubernetesVersion $mp.orchestratorVersion | quote }}
---
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1
kind: AzureASOManagedMachinePool
metadata:
name: {{ printf "%s-%s" (include "capz.clusterName" $) $mpName | quote }}
Expand Down
2 changes: 1 addition & 1 deletion charts/azure-aks-aso/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ authMode: ""
clusterName: ""
location: eastus
clusterNetwork: null
kubernetesVersion: v1.28.9
kubernetesVersion: v1.30.3

managedClusterAPIVersion: v1api20231001
managedClusterSpec:
Expand Down

0 comments on commit 6b6da4b

Please sign in to comment.