-
Notifications
You must be signed in to change notification settings - Fork 537
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3285 from josh-ferrell/e2e_internal_elb_peering
Adds an E2E test for using peered VPCs and an internal ELB
- Loading branch information
Showing
7 changed files
with
559 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
test/e2e/data/infrastructure-aws/kustomize_sources/internal-elb/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
resources: | ||
- ../remote-management-cluster | ||
patchesStrategicMerge: | ||
- patches/internal-elb.yaml | ||
|
14 changes: 14 additions & 0 deletions
14
test/e2e/data/infrastructure-aws/kustomize_sources/internal-elb/patches/internal-elb.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 | ||
kind: AWSCluster | ||
metadata: | ||
name: "${CLUSTER_NAME}" | ||
spec: | ||
controlPlaneLoadBalancer: | ||
scheme: internal | ||
network: | ||
vpc: | ||
id: "${WL_VPC_ID}" | ||
subnets: | ||
- id: "${WL_PUBLIC_SUBNET_ID}" | ||
- id: "${WL_PRIVATE_SUBNET_ID}" | ||
|
5 changes: 5 additions & 0 deletions
5
test/e2e/data/infrastructure-aws/kustomize_sources/peered-remote/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
resources: | ||
- ../remote-management-cluster | ||
patchesStrategicMerge: | ||
- patches/management.yaml | ||
|
12 changes: 12 additions & 0 deletions
12
test/e2e/data/infrastructure-aws/kustomize_sources/peered-remote/patches/management.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 | ||
kind: AWSCluster | ||
metadata: | ||
name: "${CLUSTER_NAME}" | ||
spec: | ||
network: | ||
vpc: | ||
id: "${MGMT_VPC_ID}" | ||
subnets: | ||
- id: "${MGMT_PUBLIC_SUBNET_ID}" | ||
- id: "${MGMT_PRIVATE_SUBNET_ID}" | ||
|
Oops, something went wrong.