Merge pull request #3236 from luisyonaldo/fix-configure-calico-network-pool
Fix configure calico network pool for ipipMode = CrossSubnetpull/3241/merge
commit
a512f68650
|
@ -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] }}"
|
||||||
|
@ -186,4 +186,4 @@
|
||||||
register: calico_node_manifests
|
register: calico_node_manifests
|
||||||
when:
|
when:
|
||||||
- inventory_hostname in groups['kube-master']
|
- inventory_hostname in groups['kube-master']
|
||||||
- rbac_enabled or item.type not in rbac_resources
|
- rbac_enabled or item.type not in rbac_resources
|
||||||
|
|
Loading…
Reference in New Issue