From 7df22f13ac426faca74b04cf261cde41bd9b2915 Mon Sep 17 00:00:00 2001 From: Fabian Ruff Date: Mon, 17 Apr 2023 12:23:28 +0200 Subject: [PATCH] Support oidc auth provider in kubeconfig Signed-off-by: Fabian Ruff --- pkg/common/utils.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/common/utils.go b/pkg/common/utils.go index 80884be..ddc9f84 100644 --- a/pkg/common/utils.go +++ b/pkg/common/utils.go @@ -32,6 +32,7 @@ import ( "strings" "k8s.io/client-go/kubernetes" + _ "k8s.io/client-go/plugin/pkg/client/auth/oidc" "k8s.io/client-go/rest" "k8s.io/client-go/tools/clientcmd" )