diff --git a/pkg/cluster/internal/providers/podman/provider.go b/pkg/cluster/internal/providers/podman/provider.go index 4091f4b00a..a3f5cf5b35 100644 --- a/pkg/cluster/internal/providers/podman/provider.go +++ b/pkg/cluster/internal/providers/podman/provider.go @@ -171,6 +171,8 @@ func (p *provider) DeleteNodes(n []nodes.Node) error { return deleteVolumes(nodeVolumes) } +// getHostIPOrDefault defaults HostIP to localhost if is not set +// xref: https://github.com/kubernetes-sigs/kind/issues/3777 func getHostIPOrDefault(hostIP string) string { if hostIP == "" { return "127.0.0.1"