Skip to content
Snippets Groups Projects
Unverified Commit a08d82d9 authored by zhengtianbao's avatar zhengtianbao Committed by GitHub
Browse files

calico add support for container ip forwarding setting (#8184)

parent 5f145633
No related branches found
No related tags found
No related merge requests found
...@@ -123,3 +123,6 @@ calico_bgp_listen_port: 179 ...@@ -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 @@ ...@@ -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 -%}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment