Skip to content

Commit 0659828

Browse files
author
Josh Ferrell
committed
E2E for peered VPCs and internal ELB
testing Fix gci lint issue Change to test assertions
1 parent 369f376 commit 0659828

File tree

7 files changed

+559
-7
lines changed

7 files changed

+559
-7
lines changed

test/e2e/data/e2e_conf.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,8 @@ providers:
226226
- sourcePath: "./infrastructure-aws/generated/cluster-template-upgrades.yaml"
227227
- sourcePath: "./infrastructure-aws/generated/cluster-template-external-infrastructure.yaml"
228228
- sourcePath: "./infrastructure-aws/generated/cluster-template-external-securitygroups.yaml"
229+
- sourcePath: "./infrastructure-aws/generated/cluster-template-peered-remote.yaml"
230+
- sourcePath: "./infrastructure-aws/generated/cluster-template-internal-elb.yaml"
229231
- sourcePath: "./infrastructure-aws/kustomize_sources/topology/clusterclass-quick-start.yaml"
230232
- sourcePath: "./shared/v1beta1_provider/metadata.yaml"
231233
replacements:
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
resources:
2+
- ../remote-management-cluster
3+
patchesStrategicMerge:
4+
- patches/internal-elb.yaml
5+
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
2+
kind: AWSCluster
3+
metadata:
4+
name: "${CLUSTER_NAME}"
5+
spec:
6+
controlPlaneLoadBalancer:
7+
scheme: internal
8+
network:
9+
vpc:
10+
id: "${WL_VPC_ID}"
11+
subnets:
12+
- id: "${WL_PUBLIC_SUBNET_ID}"
13+
- id: "${WL_PRIVATE_SUBNET_ID}"
14+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
resources:
2+
- ../remote-management-cluster
3+
patchesStrategicMerge:
4+
- patches/management.yaml
5+
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
2+
kind: AWSCluster
3+
metadata:
4+
name: "${CLUSTER_NAME}"
5+
spec:
6+
network:
7+
vpc:
8+
id: "${MGMT_VPC_ID}"
9+
subnets:
10+
- id: "${MGMT_PUBLIC_SUBNET_ID}"
11+
- id: "${MGMT_PRIVATE_SUBNET_ID}"
12+

0 commit comments

Comments
 (0)