Skip to content

Commit 14ff8fc

Browse files
authored
Merge pull request #3311 from josh-ferrell/e2e_fix_intelb_az
Add specific AZ to peered VPC and ELB test
2 parents b8cc8d1 + 3d5f3be commit 14ff8fc

File tree

5 files changed

+23
-0
lines changed

5 files changed

+23
-0
lines changed

test/e2e/data/infrastructure-aws/kustomize_sources/internal-elb/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ resources:
22
- ../remote-management-cluster
33
patchesStrategicMerge:
44
- patches/internal-elb.yaml
5+
- patches/az-select.yaml
56

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
kind: AWSMachineTemplate
2+
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
3+
metadata:
4+
name: "${CLUSTER_NAME}-control-plane"
5+
spec:
6+
template:
7+
spec:
8+
failureDomain: "us-west-2a"
9+
10+

test/e2e/data/infrastructure-aws/kustomize_sources/peered-remote/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ resources:
22
- ../remote-management-cluster
33
patchesStrategicMerge:
44
- patches/management.yaml
5+
- patches/az-select.yaml
56

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
kind: AWSMachineTemplate
2+
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
3+
metadata:
4+
name: "${CLUSTER_NAME}-control-plane"
5+
spec:
6+
template:
7+
spec:
8+
failureDomain: "us-west-2a"
9+

test/e2e/suites/unmanaged/unmanaged_functional_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -835,6 +835,7 @@ var _ = ginkgo.Context("[unmanaged] [functional]", func() {
835835
VpcCidr: "10.0.0.0/23",
836836
PublicSubnetCidr: "10.0.0.0/24",
837837
PrivateSubnetCidr: "10.0.1.0/24",
838+
AvailabilityZone: "us-west-2a",
838839
}, e2eCtx)
839840
mgmtClusterInfra.CreateInfrastructure()
840841
Expect(mgmtClusterInfra.VPC).NotTo(BeNil())
@@ -853,6 +854,7 @@ var _ = ginkgo.Context("[unmanaged] [functional]", func() {
853854
VpcCidr: "10.0.2.0/23",
854855
PublicSubnetCidr: "10.0.2.0/24",
855856
PrivateSubnetCidr: "10.0.3.0/24",
857+
AvailabilityZone: "us-west-2a",
856858
}, e2eCtx)
857859
wlClusterInfra.CreateInfrastructure()
858860
Expect(wlClusterInfra.VPC).NotTo(BeNil())

0 commit comments

Comments
 (0)