File tree Expand file tree Collapse file tree 4 files changed +70
-2
lines changed
Expand file tree Collapse file tree 4 files changed +70
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ V4_CFG_CR_USER: <container_registry_user>
2020V4_CFG_CR_PASSWORD : <container_registry_password>
2121
2222# # Ingress
23- V4_CFG_INGRESS_TYPE : ingress
23+ V4_CFG_INGRESS_TYPE : contour
2424V4_CFG_INGRESS_FQDN : <desired_fqdn>
2525V4_CFG_TLS_MODE : full-stack # [full-stack|front-door|ingress-only|disabled]
2626
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ V4_CFG_CR_USER: <container_registry_user>
3131V4_CFG_CR_PASSWORD : <container_registry_password>
3232
3333# # Ingress
34- V4_CFG_INGRESS_TYPE : ingress
34+ V4_CFG_INGRESS_TYPE : contour
3535V4_CFG_INGRESS_FQDN : <desired_fqdn>
3636V4_CFG_TLS_MODE : full-stack # [full-stack|front-door|ingress-only|disabled]
3737
Original file line number Diff line number Diff line change @@ -225,6 +225,20 @@ CONTOUR_AZURE_LB_HEALTH_PROBE_CONFIG:
225225 annotations :
226226 service.beta.kubernetes.io/azure-load-balancer-health-probe-request-path : /healthz
227227
228+ # Update default load-balancer for AWS to be NLB for Contour
229+ CONTOUR_AWS_NLB_CONFIG :
230+ envoy :
231+ service :
232+ annotations :
233+ service.beta.kubernetes.io/aws-load-balancer-type : nlb
234+
235+ # Update LB for AWS, specify subnets to allocate internal IPs from for Contour
236+ CONTOUR_AWS_LB_SUBNETS :
237+ envoy :
238+ service :
239+ annotations :
240+ service.beta.kubernetes.io/aws-load-balancer-subnets : " {{ V4_CFG_AWS_LB_SUBNETS }}"
241+
228242# # Cluster Autoscaler
229243CLUSTER_AUTOSCALER_ENABLED : true
230244CLUSTER_AUTOSCALER_NAME : cluster-autoscaler
@@ -300,16 +314,29 @@ private_ingress:
300314 annotations :
301315 service.beta.kubernetes.io/aws-load-balancer-internal : " true"
302316 service.beta.kubernetes.io/aws-load-balancer-type : nlb
317+ envoy :
318+ service :
319+ annotations :
320+ service.beta.kubernetes.io/aws-load-balancer-internal : " true"
321+ service.beta.kubernetes.io/aws-load-balancer-type : nlb
303322 azure :
304323 controller :
305324 service :
306325 annotations :
307326 service.beta.kubernetes.io/azure-load-balancer-internal : " true"
327+ envoy :
328+ service :
329+ annotations :
330+ service.beta.kubernetes.io/azure-load-balancer-internal : " true"
308331 gcp :
309332 controller :
310333 service :
311334 annotations :
312335 networking.gke.io/load-balancer-type : Internal
336+ envoy :
337+ service :
338+ annotations :
339+ networking.gke.io/load-balancer-type : Internal
313340
314341# # NIST Features
315342V4_CFG_NIST_FEATURES_ENABLED : false
Original file line number Diff line number Diff line change 1313# Chart URL: https://projectcontour.io/
1414# Container registry: docker.io
1515# Purpose: Alternative ingress controller (if selected).
16+ # Update CONTOUR_CONFIG with private ingress settings if running in private mode and provider is supported
17+ - name : Update CONTOUR_CONFIG to add private_ingress
18+ set_fact :
19+ CONTOUR_CONFIG : " {{ CONTOUR_CONFIG | combine(private_ingress[PROVIDER], recursive=True) }}"
20+ when :
21+ - V4_CFG_INGRESS_MODE == "private"
22+ - PROVIDER in private_ingress
23+ tags :
24+ - install
25+ - update
26+
27+ # Update CONTOUR_CONFIG to use NLB for AWS
28+ - name : Update CONTOUR_CONFIG to use NLB for AWS
29+ set_fact :
30+ CONTOUR_CONFIG : " {{ CONTOUR_CONFIG | combine(CONTOUR_AWS_NLB_CONFIG, recursive=True) }}"
31+ when :
32+ - PROVIDER == "aws"
33+ tags :
34+ - install
35+ - update
36+
37+ # Add AWS load balancer subnets to the configuration if specified
38+ - name : Update CONTOUR_CONFIG annotations to include CONTOUR_AWS_LB_SUBNETS
39+ set_fact :
40+ CONTOUR_CONFIG : " {{ CONTOUR_CONFIG | combine(CONTOUR_AWS_LB_SUBNETS, recursive=True) }}"
41+ when :
42+ - PROVIDER == "aws"
43+ - V4_CFG_AWS_LB_SUBNETS|length != 0
44+ tags :
45+ - install
46+ - update
47+
48+ # Add Azure load-balancer health probe request path to the configuration if provider is Azure
49+ - name : Update CONTOUR_CONFIG to add Azure load-balancer health probe request path
50+ set_fact :
51+ CONTOUR_CONFIG : " {{ CONTOUR_CONFIG | combine(CONTOUR_AZURE_LB_HEALTH_PROBE_CONFIG, recursive=True) }}"
52+ when :
53+ - PROVIDER == "azure"
54+ tags :
55+ - install
56+ - update
1657
1758# Add Azure load-balancer health probe request path to the configuration if provider is Azure
1859- name : Update CONTOUR_CONFIG to add Azure load-balancer health probe request path
You can’t perform that action at this time.
0 commit comments