Commit 2441e469 authored by Ludo Stellingwerff's avatar Ludo Stellingwerff Committed by Brad Davidson

Fix the "Standalone"-mode of oidc-login in the wrapped kubectl application.

This fixes: 'error: no Auth Provider found for name "oidc"' when trying to run any subcommands in kubectl that require a valid server login. Signed-off-by: 's avatarLudo Stellingwerff <ludo.stellingwerff@gmail.com>
parent 9c32f838
......@@ -13,6 +13,9 @@ import (
"k8s.io/component-base/cli"
"k8s.io/kubectl/pkg/cmd"
"k8s.io/kubectl/pkg/cmd/util"
// Import to initialize client auth plugins.
_ "k8s.io/client-go/plugin/pkg/client/auth"
)
func Main() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment