-
Notifications
You must be signed in to change notification settings - Fork 568
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 #3748 from sedefsavas/externalvpc-cc
Make subnet spec id field required for SSA to work with CC
- Loading branch information
Showing
15 changed files
with
225 additions
and
100 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
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
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
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
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
28 changes: 28 additions & 0 deletions
28
...a/infrastructure-aws/kustomize_sources/external-vpc-clusterclass/byo-infra-variables.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,28 @@ | ||
- op: add | ||
path: /spec/topology/variables/- | ||
value: | ||
name: byoInfra | ||
value: "true" | ||
- op: add | ||
path: /spec/topology/variables/- | ||
value: | ||
name: vpcID | ||
value: "${BYO_VPC_ID}" | ||
- op: add | ||
path: /spec/topology/variables/- | ||
value: | ||
name: publicSubnetID | ||
value: "${BYO_PUBLIC_SUBNET_ID}" | ||
- op: add | ||
path: /spec/topology/variables/- | ||
value: | ||
name: privateSubnetID | ||
value: "${BYO_PRIVATE_SUBNET_ID}" | ||
- op: add | ||
path: /spec/topology/variables/- | ||
value: | ||
name: fdForBYOSubnets | ||
value: "us-west-2a" | ||
- op: replace | ||
path: /spec/topology/workers/machineDeployments/0/failureDomain | ||
value: "us-west-2a" |
16 changes: 16 additions & 0 deletions
16
...2e/data/infrastructure-aws/kustomize_sources/external-vpc-clusterclass/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,16 @@ | ||
bases: | ||
- ../topology/cluster-template.yaml | ||
|
||
patches: | ||
- path: ./byo-infra-variables.yaml | ||
target: | ||
group: cluster.x-k8s.io | ||
version: v1beta1 | ||
kind: Cluster | ||
- path: ./limited-az-variable.yaml | ||
target: | ||
group: cluster.x-k8s.io | ||
version: v1beta1 | ||
kind: Cluster | ||
|
||
|
5 changes: 5 additions & 0 deletions
5
...a/infrastructure-aws/kustomize_sources/external-vpc-clusterclass/limited-az-variable.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 @@ | ||
- op: add | ||
path: /spec/topology/variables/- | ||
value: | ||
name: vpcAZUsageLimit | ||
value: "1" |
4 changes: 0 additions & 4 deletions
4
test/e2e/data/infrastructure-aws/kustomize_sources/multi-az/kustomization.yaml
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
test/e2e/data/infrastructure-aws/kustomize_sources/multi-az/patches/multi-az.yaml
This file was deleted.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.