File tree Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ import (
2020 "k8s.io/klog/v2"
2121
2222 configv1 "github.com/openshift/api/config/v1"
23- configv1client "github.com/openshift/client-go/config/clientset/versioned/typed/config/v1"
2423 configinformer "github.com/openshift/client-go/config/informers/externalversions"
2524 configv1listers "github.com/openshift/client-go/config/listers/config/v1"
2625 routeinformers "github.com/openshift/client-go/route/informers/externalversions"
@@ -77,7 +76,6 @@ func NewOAuthServerWorkloadController(
7776 ensureAtMostOnePodPerNode ensureAtMostOnePodPerNodeFunc ,
7877 kubeClient kubernetes.Interface ,
7978 nodeInformer coreinformers.NodeInformer ,
80- openshiftClusterConfigClient configv1client.ClusterOperatorInterface ,
8179 configInformers configinformer.SharedInformerFactory ,
8280 routeInformersForTargetNamespace routeinformers.SharedInformerFactory ,
8381 bootstrapUserDataGetter bootstrap.BootstrapUserDataGetter ,
@@ -138,7 +136,6 @@ func NewOAuthServerWorkloadController(
138136 routeInformersForTargetNamespace .Route ().V1 ().Routes ().Informer (),
139137 },
140138 oauthDeploymentSyncer ,
141- openshiftClusterConfigClient ,
142139 eventsRecorder ,
143140 versionRecorder ,
144141 )
Original file line number Diff line number Diff line change @@ -266,7 +266,6 @@ func prepareOauthOperator(
266266 workloadcontroller .EnsureAtMostOnePodPerNode ,
267267 authOperatorInput .kubeClient ,
268268 informerFactories .kubeInformersForNamespaces .InformersFor ("" ).Core ().V1 ().Nodes (),
269- authOperatorInput .configClient .ConfigV1 ().ClusterOperators (),
270269 informerFactories .operatorConfigInformer ,
271270 informerFactories .namespacedOpenshiftAuthenticationRoutes ,
272271 bootstrapauthenticator .NewBootstrapUserDataGetter (authOperatorInput .kubeClient .CoreV1 (), authOperatorInput .kubeClient .CoreV1 ()),
@@ -491,7 +490,6 @@ func prepareOauthAPIServerOperator(
491490 apiServerConditionsPrefix ,
492491 authOperatorInput .kubeClient ,
493492 authAPIServerWorkload ,
494- authOperatorInput .configClient .ConfigV1 ().ClusterOperators (),
495493 versionRecorder ,
496494 informerFactories .kubeInformersForNamespaces ,
497495 authOperatorInput .authenticationOperatorClient .Informer (), // TODO update the library so that the operator client informer is automatically added.
You can’t perform that action at this time.
0 commit comments