Skip to content

Commit

Permalink
Merge pull request #562 from jnummelin/calico-iptables-mode-auto
Browse files Browse the repository at this point in the history
Always set calico to auto detect iptables backend mode
  • Loading branch information
jnummelin authored Dec 21, 2020
2 parents fdce30c + 1ef2710 commit 8749d9d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/internal/upgrading-calico.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,12 @@ not the calico originals.
value: "{{ .VxlanVNI }}"
{{- end }}
```

- iptables auto detect:
```helmyaml
# Auto detect the iptables backend
- name: FELIX_IPTABLESBACKEND
value: "auto"
```
- variable-based WireGuard support:
```helmyaml
{{- if .EnableWireguard }}
Expand Down
3 changes: 3 additions & 0 deletions static/manifests/calico/DaemonSet/calico-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@ spec:
# Auto-detect the BGP IP address.
- name: IP
value: "autodetect"
# Auto detect the iptables backend
- name: FELIX_IPTABLESBACKEND
value: "auto"
{{- if eq .Mode "ipip" }}
# Enable IPIP
- name: CALICO_IPV4POOL_IPIP
Expand Down

0 comments on commit 8749d9d

Please sign in to comment.