Skip to content

Commit

Permalink
fix: add calico configuration to hopefully select the right NIC on ba…
Browse files Browse the repository at this point in the history
…sic setups
  • Loading branch information
onedr0p authored Nov 4, 2022
1 parent 2b76f66 commit effd4dd
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit effd4dd

Please sign in to comment.