Skip to content

Commit

Permalink
fix: get rid of openshift dependencies, this operators only sets up k…
Browse files Browse the repository at this point in the history
…eycloakclients, no keycloak and secondary resources
  • Loading branch information
christianwoehrle committed Sep 11, 2022
1 parent 3d6a67f commit 4f0a037
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions cmd/manager/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ import (
"github.com/christianwoehrle/keycloakclient-operator/version"
"github.com/pkg/errors"

routev1 "github.com/openshift/api/route/v1"

// Import all Kubernetes client auth plugins (e.g. Azure, GCP, OIDC, etc.)
_ "k8s.io/client-go/plugin/pkg/client/auth"
"k8s.io/client-go/rest"
Expand Down Expand Up @@ -148,12 +146,6 @@ func main() {
os.Exit(1)
}

// Setup Scheme for OpenShift routes
if err := routev1.AddToScheme(mgr.GetScheme()); err != nil {
log.Error(err, "")
os.Exit(1)
}

// Setup all Controllers
if err := controller.AddToManager(mgr); err != nil {
log.Error(err, "")
Expand Down

0 comments on commit 4f0a037

Please sign in to comment.