Merge pull request #3236 from luisyonaldo/fix-configure-calico-network-pool

Fix configure calico network pool for ipipMode = CrossSubnet
This commit is contained in:
k8s-ci-robot 2018-09-04 23:22:33 -07:00 committed by GitHub
commit a512f68650
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -97,7 +97,7 @@
}, },
"spec": { "spec": {
"cidr": "{{ kube_pods_subnet }}", "cidr": "{{ kube_pods_subnet }}",
"ipipMode": "{{ ipip_mode|capitalize }}", "ipipMode": "{{ ipip_mode }}",
"natOutgoing": {{ nat_outgoing|default(false) and not peer_with_router|default(false) }} }} " | {{ bin_dir }}/calicoctl create -f - "natOutgoing": {{ nat_outgoing|default(false) and not peer_with_router|default(false) }} }} " | {{ bin_dir }}/calicoctl create -f -
run_once: true run_once: true
delegate_to: "{{ groups['kube-master'][0] }}" delegate_to: "{{ groups['kube-master'][0] }}"