Skip to content

Commit 8295d78

Browse files
authored
Merge pull request #105 from canonical/update-aws
Change AWS custom resources api version in cluster-template-aws.yaml
2 parents 099d28f + 6c06ced commit 8295d78

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

templates/cluster-template-aws.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ metadata:
66
name: ${CLUSTER_NAME}
77
spec:
88
infrastructureRef:
9-
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
9+
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
1010
kind: AWSCluster
1111
name: ${CLUSTER_NAME}
1212
controlPlaneRef:
1313
kind: MicroK8sControlPlane
1414
apiVersion: controlplane.cluster.x-k8s.io/v1beta1
1515
name: ${CLUSTER_NAME}-control-plane
1616
---
17-
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
17+
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
1818
kind: AWSCluster
1919
metadata:
2020
name: ${CLUSTER_NAME}
@@ -42,14 +42,14 @@ spec:
4242
portCompatibilityRemap: true
4343
machineTemplate:
4444
infrastructureTemplate:
45-
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
45+
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
4646
kind: AWSMachineTemplate
4747
name: "${CLUSTER_NAME}-control-plane"
4848
replicas: ${CONTROL_PLANE_MACHINE_COUNT:=1}
4949
version: "v${KUBERNETES_VERSION}"
5050
upgradeStrategy: "${UPGRADE_STRATEGY}"
5151
---
52-
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
52+
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
5353
kind: AWSMachineTemplate
5454
metadata:
5555
name: ${CLUSTER_NAME}-control-plane
@@ -81,10 +81,10 @@ spec:
8181
kind: MicroK8sConfigTemplate
8282
infrastructureRef:
8383
name: "${CLUSTER_NAME}-md-0"
84-
apiVersion: infrastructure.cluster.x-k8s.io/v1beta
84+
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
8585
kind: AWSMachineTemplate
8686
---
87-
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
87+
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
8888
kind: AWSMachineTemplate
8989
metadata:
9090
name: ${CLUSTER_NAME}-md-0

0 commit comments

Comments
 (0)