From 0664cce6d2222d936e33bb9e21682d48c45517f8 Mon Sep 17 00:00:00 2001 From: Vince Prignano Date: Mon, 21 Jun 2021 20:08:53 -0700 Subject: [PATCH] :bug: Remove advertise-address from testenv api-server Kubernetes 1.21 doesn't let us use a loopback address anymore, we can let the api-server to figure out its own advertise address by removing the argument. Signed-off-by: Vince Prignano --- pkg/internal/testing/controlplane/apiserver.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/internal/testing/controlplane/apiserver.go b/pkg/internal/testing/controlplane/apiserver.go index e8c200e823..478bd997ff 100644 --- a/pkg/internal/testing/controlplane/apiserver.go +++ b/pkg/internal/testing/controlplane/apiserver.go @@ -332,7 +332,6 @@ func (s *APIServer) discoverFlags() error { func (s *APIServer) defaultArgs() map[string][]string { args := map[string][]string{ - "advertise-address": {"127.0.0.1"}, "service-cluster-ip-range": {"10.0.0.0/24"}, "allow-privileged": {"true"}, // we're keeping this disabled because if enabled, default SA is