fix: add calico configuration to hopefully select the right NIC on basic setups

This commit is contained in:
Devin Buhl authored and GitHub committed 2022-11-04 09:38:02 -04:00
1 parent 2b76f664b7
commit effd4dd950
1 file changed
+4
@@ -5,6 +5,10 @@ metadata:
name: default
spec:
calicoNetwork:
# https://projectcalico.docs.tigera.io/networking/ip-autodetection
nodeAddressAutodetectionV4:
cidrs:
- "{{ (ansible_default_ipv4.network + '/' + ansible_default_ipv4.netmask) | ipaddr('network/prefix') }}"
# Note: The ipPools section cannot be modified post-install.
ipPools:
- blockSize: 26