Skip to content

Commit fdda745

Browse files
committed
react to changes after dep udpate
1 parent b0bfaf3 commit fdda745

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

pkg/controllers/deployment/deployment_controller.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff 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
)

pkg/operator/starter.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)