Skip to content

Commit 7558e6a

Browse files
committed
CNI: Update kindnetd from v20230227-15197099 to v20230330-48f316cd
1 parent 81ebdd0 commit 7558e6a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

deploy/kicbase/entrypoint

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,9 @@ enable_network_magic(){
447447
-e 's/-A OUTPUT \(.*\) -j DOCKER_OUTPUT/\0\n-A PREROUTING \1 -j DOCKER_OUTPUT/' \
448448
`# switch docker DNS SNAT rules rules to our chosen IP` \
449449
-e "s/--to-source :53/--to-source ${docker_host_ip}:53/g"\
450+
`# nftables incompatibility between 1.8.8 and 1.8.7 omit the --dport flag on DNAT rules` \
451+
`# ensure --dport on DNS rules, due to https://github.com/kubernetes-sigs/kind/issues/3054` \
452+
-e "s/p -j DNAT --to-destination ${docker_embedded_dns_ip}/p --dport 53 -j DNAT --to-destination ${docker_embedded_dns_ip}/g" \
450453
| iptables-restore
451454

452455
# now we can ensure that DNS is configured to use our IP

pkg/minikube/bootstrapper/images/images.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ func KindNet(repo string) string {
170170
if repo == "" {
171171
repo = "kindest"
172172
}
173-
return path.Join(repo, "kindnetd:v20230227-15197099")
173+
return path.Join(repo, "kindnetd:v20230330-48f316cd")
174174
}
175175

176176
// all calico images are from https://docs.projectcalico.org/manifests/calico.yaml

0 commit comments

Comments
 (0)