Skip to content

Commit

Permalink
fix: add oidc auth method (#615)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Amanbolat committed Jan 9, 2023
1 parent b9956bb commit ee06020
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit ee06020

Please sign in to comment.