Skip to content

Commit

Permalink
🐛 Remove advertise-address from testenv api-server
Browse files Browse the repository at this point in the history
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 <vincepri@vmware.com>
  • Loading branch information
vincepri committed Jun 22, 2021
1 parent 484f82a commit 0664cce
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/internal/testing/controlplane/apiserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0664cce

Please sign in to comment.