-
Notifications
You must be signed in to change notification settings - Fork 15
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 #89 from openinfradev/multiple_infra_provider
support multiple infra provider
- Loading branch information
Showing
4 changed files
with
58 additions
and
38 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
resources: | ||
- ../base | ||
|
||
transformers: | ||
- site-values.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,44 @@ | ||
apiVersion: openinfradev.github.com/v1 | ||
kind: HelmValuesTransformer | ||
metadata: | ||
name: site | ||
|
||
global: | ||
# These values are replaced on cluster creation by workflow | ||
clusterName: cluster.local | ||
charts: | ||
- name: kubernetes-addons | ||
override: | ||
cni.calico.enabled: true | ||
|
||
- name: ingress-nginx | ||
override: | ||
controller: | ||
nodeSelector: | ||
taco-lma: enabled | ||
resources: | ||
requests: | ||
cpu: 2000m | ||
memory: 4Gi | ||
service: | ||
annotations: | ||
service.beta.kubernetes.io/aws-load-balancer-type: "nlb" | ||
externalTrafficPolicy: Local | ||
annotations: | ||
service.beta.kubernetes.io/aws-load-balancer-name: "taco-ingress-nlb" | ||
service.beta.kubernetes.io/aws-load-balancer-type: "nlb" | ||
service.beta.kubernetes.io/aws-load-balancer-proxy-protocol: "*" | ||
type: LoadBalancer | ||
config: | ||
enable-underscores-in-headers: "true" | ||
proxy-body-size: "10m" | ||
|
||
- name: cluster-autoscaler | ||
override: | ||
discoveryNamespace: $(clusterName) | ||
discoveryClusterName: $(clusterName) | ||
|
||
- name: cluster-autoscaler-rbac | ||
override: | ||
deployMgmtRbacOnly: | ||
targetNamespace: $(clusterName) |