Skip to content

Commit

Permalink
Merge pull request #2026 from littleBlackHouse/calico-args
Browse files Browse the repository at this point in the history
fix(calico): change default calico arg: IPV4POOL_NAT_OUTGOING to true
  • Loading branch information
ks-ci-bot authored Oct 23, 2023
2 parents 19a0ad1 + 6fea82b commit b2f957f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/kk/apis/kubekey/v1alpha2/network_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func (n *NetworkConfig) EnableMultusCNI() bool {
// EnableIPV4POOL_NAT_OUTGOING is used to determine whether to enable CALICO_IPV4POOL_NAT_OUTGOING.
func (c *CalicoCfg) EnableIPV4POOL_NAT_OUTGOING() bool {
if c.Ipv4NatOutgoing == nil {
return false
return true
}
return *c.Ipv4NatOutgoing
}
Expand Down

0 comments on commit b2f957f

Please sign in to comment.