From ee06020c173f97d05cfcdace93ead1b58ec2c19d Mon Sep 17 00:00:00 2001 From: Amanbolat Date: Sun, 8 Jan 2023 23:12:15 -0800 Subject: [PATCH] fix: add oidc auth method (#615) When auth provider with name oidc is used, kubecm will throw an error: no Auth Provider found for name "oidc". This commit fixes the issue. --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 28dd0d92..e798c501 100644 --- a/main.go +++ b/main.go @@ -22,6 +22,7 @@ import ( "github.com/sunny0826/kubecm/cmd" _ "k8s.io/client-go/plugin/pkg/client/auth/azure" // required for Azure _ "k8s.io/client-go/plugin/pkg/client/auth/gcp" // required for GKE + _ "k8s.io/client-go/plugin/pkg/client/auth/oidc" ) func main() {