Skip to content

Commit

Permalink
fix: add oidc auth method
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 authored Jan 6, 2023
1 parent b9956bb commit 7bd4668
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 7bd4668

Please sign in to comment.