diff --git a/.golangci.yml b/.golangci.yml index a16da3d..2d166c2 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -38,7 +38,6 @@ linters: disable-all: true enable: - bodyclose - - depguard - dogsled - dupl - errcheck diff --git a/internal/kube/kube.go b/internal/kube/kube.go index c3d148c..9627236 100644 --- a/internal/kube/kube.go +++ b/internal/kube/kube.go @@ -14,6 +14,7 @@ import ( "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/dynamic" "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"