From 3d0136b13d687b41ec87019b8288de0e64d9dc24 Mon Sep 17 00:00:00 2001 From: "pengfei4.li" Date: Wed, 7 Aug 2024 19:54:06 +0800 Subject: [PATCH] feat: add oidc's auth provider Signed-off-by: pengfei --- cmd/controller-manager/main.go | 1 + cmd/scheduler/main.go | 1 + cmd/webhook-manager/main.go | 1 + 3 files changed, 3 insertions(+) diff --git a/cmd/controller-manager/main.go b/cmd/controller-manager/main.go index 96c94e5386..b61acc0f8a 100644 --- a/cmd/controller-manager/main.go +++ b/cmd/controller-manager/main.go @@ -25,6 +25,7 @@ import ( "github.com/spf13/pflag" _ "go.uber.org/automaxprocs" utilfeature "k8s.io/apiserver/pkg/util/feature" + _ "k8s.io/client-go/plugin/pkg/client/auth" cliflag "k8s.io/component-base/cli/flag" componentbaseoptions "k8s.io/component-base/config/options" "k8s.io/klog/v2" diff --git a/cmd/scheduler/main.go b/cmd/scheduler/main.go index 77fae8f1fd..bd128d9885 100644 --- a/cmd/scheduler/main.go +++ b/cmd/scheduler/main.go @@ -24,6 +24,7 @@ import ( "github.com/spf13/pflag" _ "go.uber.org/automaxprocs" utilfeature "k8s.io/apiserver/pkg/util/feature" + _ "k8s.io/client-go/plugin/pkg/client/auth" cliflag "k8s.io/component-base/cli/flag" componentbaseoptions "k8s.io/component-base/config/options" "k8s.io/klog/v2" diff --git a/cmd/webhook-manager/main.go b/cmd/webhook-manager/main.go index 45bdfc4b98..d839aa6376 100644 --- a/cmd/webhook-manager/main.go +++ b/cmd/webhook-manager/main.go @@ -23,6 +23,7 @@ import ( "github.com/spf13/pflag" _ "go.uber.org/automaxprocs" + _ "k8s.io/client-go/plugin/pkg/client/auth" cliflag "k8s.io/component-base/cli/flag" "k8s.io/klog/v2"