diff --git a/hack/certs/generate_certs.go b/hack/certs/generate_certs.go index 76863d80f499..23ed65d9c7a4 100644 --- a/hack/certs/generate_certs.go +++ b/hack/certs/generate_certs.go @@ -40,7 +40,7 @@ func main() { BasicConstraintsValid: true, } - for _, h := range []string{"localhost"} { + for _, h := range []string{"localhost", "127.0.0.1"} { if ip := net.ParseIP(h); ip != nil { template.IPAddresses = append(template.IPAddresses, ip) } else {