calico add support for container ip forwarding setting (#8184)
This commit is contained in:
parent
5f1456337b
commit
a08d82d94e
2 changed files with 8 additions and 0 deletions
|
@ -123,3 +123,6 @@ calico_bgp_listen_port: 179
|
||||||
# Calico FelixConfiguration options
|
# Calico FelixConfiguration options
|
||||||
calico_felix_reporting_interval: 0s
|
calico_felix_reporting_interval: 0s
|
||||||
calico_felix_log_severity_screen: Info
|
calico_felix_log_severity_screen: Info
|
||||||
|
|
||||||
|
# Calico container settings
|
||||||
|
calico_allow_ip_forwarding: false
|
||||||
|
|
|
@ -38,6 +38,11 @@
|
||||||
"ipv4_pools": ["{{ calico_pool_cidr | default(kube_pods_subnet) }}"]
|
"ipv4_pools": ["{{ calico_pool_cidr | default(kube_pods_subnet) }}"]
|
||||||
},
|
},
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if calico_allow_ip_forwarding %}
|
||||||
|
"container_settings": {
|
||||||
|
"allow_ip_forwarding": true
|
||||||
|
},
|
||||||
|
{% endif %}
|
||||||
{% if (calico_feature_control is defined) and (calico_feature_control|length > 0) %}
|
{% if (calico_feature_control is defined) and (calico_feature_control|length > 0) %}
|
||||||
"feature_control": {
|
"feature_control": {
|
||||||
{% for fc in calico_feature_control -%}
|
{% for fc in calico_feature_control -%}
|
||||||
|
|
Loading…
Reference in a new issue