register client-go auth plugins for e2e

This commit is contained in:
Jordan Liggitt 2018-05-12 00:46:51 -04:00
parent b617748f7b
commit eea04411c0
No known key found for this signature in database
GPG Key ID: 39928704103C7229
2 changed files with 4 additions and 0 deletions

View File

@ -69,6 +69,7 @@ go_library(
"//vendor/k8s.io/apiserver/pkg/authentication/serviceaccount:go_default_library",
"//vendor/k8s.io/apiserver/pkg/util/logs:go_default_library",
"//vendor/k8s.io/client-go/kubernetes:go_default_library",
"//vendor/k8s.io/client-go/plugin/pkg/client/auth:go_default_library",
],
)

View File

@ -43,6 +43,9 @@ import (
"k8s.io/kubernetes/test/e2e/framework/metrics"
"k8s.io/kubernetes/test/e2e/manifest"
testutils "k8s.io/kubernetes/test/utils"
// ensure auth plugins are loaded
_ "k8s.io/client-go/plugin/pkg/client/auth"
)
var (