Browse Source

calico CALICO_IPV4POOL_IPIP overriding variable (#3507)

pull/3515/head
Anupam Basak 6 years ago
committed by k8s-ci-robot
parent
commit
3ce933051a
2 changed files with 3 additions and 2 deletions
  1. 1
      roles/network_plugin/calico/defaults/main.yml
  2. 4
      roles/network_plugin/calico/templates/calico-node.yml.j2

1
roles/network_plugin/calico/defaults/main.yml

@ -4,6 +4,7 @@ nat_outgoing: true
# add default ippool name
calico_pool_name: "default-pool"
calico_ipv4pool_ipip: "Off"
# Use IP-over-IP encapsulation across hosts
ipip: true

4
roles/network_plugin/calico/templates/calico-node.yml.j2

@ -77,8 +77,8 @@ spec:
# # Configure the IP Pool from which Pod IPs will be chosen.
# - name: CALICO_IPV4POOL_CIDR
# value: "192.168.0.0/16"
# - name: CALICO_IPV4POOL_IPIP
# value: "always"
- name: CALICO_IPV4POOL_IPIP
value: "{{ calico_ipv4pool_ipip }}"
# Disable IPv6 on Kubernetes.
- name: FELIX_IPV6SUPPORT
value: "false"

Loading…
Cancel
Save