diff --git a/templates/cluster-template-aws.yaml b/templates/cluster-template-aws.yaml index 96a68d3..31afb6d 100644 --- a/templates/cluster-template-aws.yaml +++ b/templates/cluster-template-aws.yaml @@ -6,7 +6,7 @@ metadata: name: ${CLUSTER_NAME} spec: infrastructureRef: - apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 + apiVersion: infrastructure.cluster.x-k8s.io/v1beta2 kind: AWSCluster name: ${CLUSTER_NAME} controlPlaneRef: @@ -14,7 +14,7 @@ spec: apiVersion: controlplane.cluster.x-k8s.io/v1beta1 name: ${CLUSTER_NAME}-control-plane --- -apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 +apiVersion: infrastructure.cluster.x-k8s.io/v1beta2 kind: AWSCluster metadata: name: ${CLUSTER_NAME} @@ -42,14 +42,14 @@ spec: portCompatibilityRemap: true machineTemplate: infrastructureTemplate: - apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 + apiVersion: infrastructure.cluster.x-k8s.io/v1beta2 kind: AWSMachineTemplate name: "${CLUSTER_NAME}-control-plane" replicas: ${CONTROL_PLANE_MACHINE_COUNT:=1} version: "v${KUBERNETES_VERSION}" upgradeStrategy: "${UPGRADE_STRATEGY}" --- -apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 +apiVersion: infrastructure.cluster.x-k8s.io/v1beta2 kind: AWSMachineTemplate metadata: name: ${CLUSTER_NAME}-control-plane @@ -81,10 +81,10 @@ spec: kind: MicroK8sConfigTemplate infrastructureRef: name: "${CLUSTER_NAME}-md-0" - apiVersion: infrastructure.cluster.x-k8s.io/v1beta + apiVersion: infrastructure.cluster.x-k8s.io/v1beta2 kind: AWSMachineTemplate --- -apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 +apiVersion: infrastructure.cluster.x-k8s.io/v1beta2 kind: AWSMachineTemplate metadata: name: ${CLUSTER_NAME}-md-0