Skip to content

Commit

Permalink
fix(calico): change default calico arg: IPV4POOL_NAT_OUTGOING to true
Browse files Browse the repository at this point in the history
Signed-off-by: joyceliu <joyceliu@yunify.com>
  • Loading branch information
joyceliu committed Oct 23, 2023
1 parent 19a0ad1 commit 6fea82b
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 6fea82b

Please sign in to comment.