Skip to content

Commit c0fc012

Browse files
committed
migrate topology to v1beta2
Signed-off-by: sivchari <shibuuuu5@gmail.com>
1 parent 8e8362f commit c0fc012

File tree

7 files changed

+17
-10
lines changed

7 files changed

+17
-10
lines changed

test/e2e/data/infrastructure-docker/main/bases/cluster-with-topology.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ spec:
1313
cidrBlocks: ['${DOCKER_POD_CIDRS}']
1414
serviceDomain: '${DOCKER_SERVICE_DOMAIN}'
1515
topology:
16-
class: "quick-start"
17-
classNamespace: '${CLUSTER_CLASS_NAMESPACE:-""}'
16+
classRef:
17+
name: "quick-start"
18+
namespace: '${CLUSTER_CLASS_NAMESPACE:-""}'
1819
version: "${KUBERNETES_VERSION}"
1920
controlPlane:
2021
metadata:

test/e2e/data/infrastructure-docker/main/cluster-template-in-memory.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ spec:
1111
cidrBlocks: ${POD_CIDR:=["192.168.0.0/16"]}
1212
serviceDomain: ${SERVICE_DOMAIN:="cluster.local"}
1313
topology:
14-
class: in-memory
15-
classNamespace: ${NAMESPACE}
14+
classRef:
15+
name: in-memory
16+
namespace: ${NAMESPACE}
1617
version: ${KUBERNETES_VERSION}
1718
controlPlane:
1819
replicas: ${CONTROL_PLANE_MACHINE_COUNT}

test/e2e/data/infrastructure-docker/main/cluster-template-kcp-pre-drain/cluster.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ metadata:
55
name: '${CLUSTER_NAME}'
66
spec:
77
topology:
8-
class: quick-start
8+
classRef:
9+
name: quick-start
910
controlPlane:
1011
metadata:
1112
annotations:

test/e2e/data/infrastructure-docker/main/cluster-template-topology-autoscaler/cluster-autoscaler.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ spec:
1313
cidrBlocks: ['${DOCKER_POD_CIDRS}']
1414
serviceDomain: '${DOCKER_SERVICE_DOMAIN}'
1515
topology:
16-
class: "quick-start"
16+
classRef:
17+
name: "quick-start"
1718
version: "${KUBERNETES_VERSION}"
1819
controlPlane:
1920
metadata: {}

test/e2e/data/infrastructure-docker/main/cluster-template-topology-dualstack-ipv4-primary/cluster.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ metadata:
55
name: '${CLUSTER_NAME}'
66
spec:
77
topology:
8-
class: quick-start
8+
classRef:
9+
name: quick-start
910
variables:
1011
- name: ipv6Primary
1112
value: false

test/e2e/data/infrastructure-docker/main/cluster-template-topology-dualstack-ipv6-primary/cluster.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ metadata:
55
name: '${CLUSTER_NAME}'
66
spec:
77
topology:
8-
class: quick-start
8+
classRef:
9+
name: quick-start
910
variables:
1011
- name: ipv6Primary
1112
value: true

test/e2e/data/infrastructure-docker/main/cluster-template-upgrades-runtimesdk/cluster-runtimesdk.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ spec:
1313
cidrBlocks: ['${DOCKER_POD_CIDRS}']
1414
serviceDomain: '${DOCKER_SERVICE_DOMAIN}'
1515
topology:
16-
class: "quick-start-runtimesdk"
17-
classNamespace: '${CLUSTER_CLASS_NAMESPACE:-""}'
16+
classRef:
17+
name: "quick-start-runtimesdk"
18+
namespace: '${CLUSTER_CLASS_NAMESPACE:-""}'
1819
version: "${KUBERNETES_VERSION}"
1920
controlPlane:
2021
metadata: {}

0 commit comments

Comments
 (0)