Allow custom CA certificate when flag --api-server is specified (#4807)

This commit is contained in:
Manuel Alejandro de Brito Fontes 2019-12-05 19:12:54 -03:00 committed by GitHub
parent 833d0e98a3
commit 19d596b72b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 30 additions and 5 deletions

View file

@ -34,7 +34,7 @@ import (
)
func TestCreateApiserverClient(t *testing.T) {
_, err := createApiserverClient("", "")
_, err := createApiserverClient("", "", "")
if err == nil {
t.Fatal("Expected an error creating REST client without an API server URL or kubeconfig file.")
}