auth: reregister auth providers

Fixes: 5d721bff81

That PR unregistered auth providers for kubectl and probably elsewhere.
This commit is contained in:
Mike Danese 2018-02-23 16:09:39 -08:00
parent 05425f0826
commit e8d405a0ed
2 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,7 @@ go_library(
"//vendor/github.com/spf13/pflag:go_default_library",
"//vendor/k8s.io/apiserver/pkg/util/flag:go_default_library",
"//vendor/k8s.io/apiserver/pkg/util/logs:go_default_library",
"//vendor/k8s.io/client-go/plugin/pkg/client/auth:go_default_library",
],
)

View File

@ -28,6 +28,9 @@ import (
utilflag "k8s.io/apiserver/pkg/util/flag"
"k8s.io/apiserver/pkg/util/logs"
"k8s.io/kubernetes/pkg/kubectl/cmd"
// Import to initialize client auth plugins.
_ "k8s.io/client-go/plugin/pkg/client/auth"
)
func main() {