diff --git a/main.go b/main.go index 55834f8e..45eef509 100644 --- a/main.go +++ b/main.go @@ -246,7 +246,7 @@ func main() { api.AttachPodRoutes(podRoutes, mux, true) - parsedIP := net.ParseIP(commonIL.InterLinkConfigInst.PodIP) + parsedIP := net.ParseIP(os.Getenv("POD_IP")) retriever := newSelfSignedCertificateRetriever(cfg.NodeName, parsedIP) server := &http.Server{