@@ -6,19 +6,21 @@ metadata:
6
6
name : ${CLUSTER_NAME}
7
7
spec :
8
8
infrastructureRef :
9
- apiVersion : infrastructure.cluster.x-k8s.io/v1alpha5
9
+ apiVersion : infrastructure.cluster.x-k8s.io/v1alpha7
10
10
kind : OpenStackCluster
11
11
name : ${CLUSTER_NAME}
12
12
controlPlaneRef :
13
13
kind : MicroK8sControlPlane
14
14
apiVersion : controlplane.cluster.x-k8s.io/v1beta1
15
15
name : ${CLUSTER_NAME}-control-plane
16
16
---
17
- apiVersion : infrastructure.cluster.x-k8s.io/v1alpha5
17
+ apiVersion : infrastructure.cluster.x-k8s.io/v1alpha7
18
18
kind : OpenStackCluster
19
19
metadata :
20
20
name : ${CLUSTER_NAME}
21
21
spec :
22
+ apiServerLoadBalancer :
23
+ enabled : ${OPENSTACK_USE_OCTAVIA_LOADBALANCER}
22
24
cloudName : ${OPENSTACK_CLOUD}
23
25
identityRef :
24
26
name : ${OPENSTACK_CLOUD_CONFIG_SECRET_NAME}
@@ -48,14 +50,14 @@ spec:
48
50
portCompatibilityRemap : true
49
51
machineTemplate :
50
52
infrastructureTemplate :
51
- apiVersion : infrastructure.cluster.x-k8s.io/v1alpha5
53
+ apiVersion : infrastructure.cluster.x-k8s.io/v1alpha7
52
54
kind : OpenStackMachineTemplate
53
55
name : " ${CLUSTER_NAME}-control-plane"
54
56
replicas : ${CONTROL_PLANE_MACHINE_COUNT:=1}
55
57
version : " v${KUBERNETES_VERSION}"
56
58
upgradeStrategy : " ${UPGRADE_STRATEGY}"
57
59
---
58
- apiVersion : infrastructure.cluster.x-k8s.io/v1alpha5
60
+ apiVersion : infrastructure.cluster.x-k8s.io/v1alpha7
59
61
kind : OpenStackMachineTemplate
60
62
metadata :
61
63
name : ${CLUSTER_NAME}-control-plane
@@ -91,10 +93,10 @@ spec:
91
93
kind : MicroK8sConfigTemplate
92
94
infrastructureRef :
93
95
name : " ${CLUSTER_NAME}-md-0"
94
- apiVersion : infrastructure.cluster.x-k8s.io/v1alpha5
96
+ apiVersion : infrastructure.cluster.x-k8s.io/v1alpha7
95
97
kind : OpenStackMachineTemplate
96
98
---
97
- apiVersion : infrastructure.cluster.x-k8s.io/v1alpha5
99
+ apiVersion : infrastructure.cluster.x-k8s.io/v1alpha7
98
100
kind : OpenStackMachineTemplate
99
101
metadata :
100
102
name : ${CLUSTER_NAME}-md-0
0 commit comments