Skip to content

Commit eb78d57

Browse files
committed
Change the manifest files to be compliant with the multizone update
1 parent 66bafa5 commit eb78d57

File tree

6 files changed

+21
-11
lines changed

6 files changed

+21
-11
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ run: generate-deepcopy ## Run a controller from your host.
9494
# Using a flag file here as docker build doesn't produce a target file.
9595
DOCKER_BUILD_INPUTS=$(MANAGER_BIN_INPUTS) Dockerfile
9696
.PHONY: docker-build
97-
docker-build: build-for-docker .dockerflag.mk ## Build docker image containing the controller manager.
97+
docker-build: generate-deepcopy build-for-docker .dockerflag.mk ## Build docker image containing the controller manager.
9898
.dockerflag.mk: $(DOCKER_BUILD_INPUTS)
9999
docker build -t ${IMG} .
100100
@touch .dockerflag.mk

test/e2e/data/infrastructure-cloudstack/v1beta1/bases/cluster-with-kcp.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ kind: CloudStackCluster
2323
metadata:
2424
name: ${CLUSTER_NAME}
2525
spec:
26-
zone: ${CLOUDSTACK_ZONE_NAME}
27-
network: ${CLOUDSTACK_NETWORK_NAME}
26+
zones:
27+
- name : ${CLOUDSTACK_ZONE_NAME}
28+
network:
29+
name: ${CLOUDSTACK_NETWORK_NAME}
2830
controlPlaneEndpoint:
2931
host: ${CLUSTER_ENDPOINT_IP}
3032
port: ${CLUSTER_ENDPOINT_PORT}

test/e2e/data/infrastructure-cloudstack/v1beta1/cluster-template-invalid-account/cloudstack-cluster.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ kind: CloudStackCluster
33
metadata:
44
name: ${CLUSTER_NAME}
55
spec:
6-
zone: ${CLOUDSTACK_ZONE_NAME}
7-
network: ${CLOUDSTACK_NETWORK_NAME}
6+
zones:
7+
- name : ${CLOUDSTACK_ZONE_NAME}
8+
network:
9+
name: ${CLOUDSTACK_NETWORK_NAME}
810
account: ${CLOUDSTACK_INVALID_ACCOUNT_NAME}
911
domain: ${CLOUDSTACK_DOMAIN_NAME}
1012
controlPlaneEndpoint:

test/e2e/data/infrastructure-cloudstack/v1beta1/cluster-template-invalid-domain/cloudstack-cluster.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ kind: CloudStackCluster
33
metadata:
44
name: ${CLUSTER_NAME}
55
spec:
6-
zone: ${CLOUDSTACK_ZONE_NAME}
7-
network: ${CLOUDSTACK_NETWORK_NAME}
6+
zones:
7+
- name : ${CLOUDSTACK_ZONE_NAME}
8+
network:
9+
name: ${CLOUDSTACK_NETWORK_NAME}
810
account: ${CLOUDSTACK_ACCOUNT_NAME}
911
domain: ${CLOUDSTACK_INVALID_DOMAIN_NAME}
1012
controlPlaneEndpoint:

test/e2e/data/infrastructure-cloudstack/v1beta1/cluster-template-invalid-zone/cloudstack-cluster.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ kind: CloudStackCluster
33
metadata:
44
name: ${CLUSTER_NAME}
55
spec:
6-
zone: ${CLOUDSTACK_INVALID_ZONE_NAME}
7-
network: ${CLOUDSTACK_NETWORK_NAME}
6+
zones:
7+
- name : ${CLOUDSTACK_INVALID_ZONE_NAME}
8+
network:
9+
name: ${CLOUDSTACK_NETWORK_NAME}
810
controlPlaneEndpoint:
911
host: ${CLUSTER_ENDPOINT_IP}
1012
port: ${CLUSTER_ENDPOINT_PORT}

test/e2e/data/infrastructure-cloudstack/v1beta1/cluster-template-resource-cleanup/cloudstack-cluster.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ kind: CloudStackCluster
33
metadata:
44
name: ${CLUSTER_NAME}
55
spec:
6-
zone: ${CLOUDSTACK_ZONE_NAME}
7-
network: ${CLOUDSTACK_NEW_NETWORK_NAME}
6+
zones:
7+
- name : ${CLOUDSTACK_ZONE_NAME}
8+
network:
9+
name: ${CLOUDSTACK_NEW_NETWORK_NAME}
810
controlPlaneEndpoint:
911
host: ${CLUSTER_ENDPOINT_NEW_IP}
1012
port: ${CLUSTER_ENDPOINT_PORT}

0 commit comments

Comments
 (0)