Skip to content

Commit

Permalink
APIServerDefaultArgs are now as they were defined in the previous v…
Browse files Browse the repository at this point in the history
…ersion

Signed-off-by: Aleksey Dukhovniy <alex.dukhovniy@googlemail.com>
  • Loading branch information
zen-dog committed Mar 13, 2020
1 parent d7bc484 commit 579263d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/test/utils/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ var schemeLock sync.Once
// APIServerDefaultArgs are copied from the internal controller-runtime pkg/internal/testing/integration/internal/apiserver.go
// sadly, we can't import them anymore since it is an internal package
var APIServerDefaultArgs = []string{
"--advertise-address=127.0.0.1",
"--etcd-servers={{ if .EtcdURL }}{{ .EtcdURL.String }}{{ end }}",
"--cert-dir={{ .CertDir }}",
"--insecure-port={{ if .URL }}{{ .URL.Port }}{{ end }}",
"--insecure-bind-address={{ if .URL }}{{ .URL.Hostname }}{{ end }}",
"--secure-port={{ if .SecurePort }}{{ .SecurePort }}{{ end }}",
"--admission-control=AlwaysAdmit",
"--service-cluster-ip-range=10.0.0.0/24",
"--allow-privileged=true",
}

// IsJSONSyntaxError returns true if the error is a JSON syntax error.
Expand Down

0 comments on commit 579263d

Please sign in to comment.