Plumb token and token file through rest.Config

Kubernetes-commit: dba85e58debadfcb66aff2b68ba8bcc2eafeac2d
This commit is contained in:
Jordan Liggitt
2018-12-04 11:24:29 -05:00
committed by Kubernetes Publisher
parent 01eda157bc
commit 66e83da33c
8 changed files with 66 additions and 33 deletions

View File

@@ -264,6 +264,7 @@ func TestAnonymousConfig(t *testing.T) {
// is added to Config, update AnonymousClientConfig to preserve the field otherwise.
expected.Impersonate = ImpersonationConfig{}
expected.BearerToken = ""
expected.BearerTokenFile = ""
expected.Username = ""
expected.Password = ""
expected.AuthProvider = nil