Skip to content

Commit

Permalink
fix kube auth oidc (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleg Sabov authored Mar 8, 2024
1 parent 890551a commit bf4bedb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pkg/backend/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ package backend

import (
"context"
"net/http"
"os"
"time"

cpk8s "github.com/crossplane-contrib/provider-kubernetes/apis/v1alpha1"
xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
Expand All @@ -21,11 +25,9 @@ import (
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
_ "k8s.io/client-go/plugin/pkg/client/auth/oidc"
"k8s.io/client-go/rest"
"k8s.io/client-go/tools/clientcmd"
"net/http"
"os"
"time"
)

type StatusInfo struct {
Expand Down

0 comments on commit bf4bedb

Please sign in to comment.