somes fixes
This commit is contained in:
parent
162cc1613f
commit
ebd7d12d17
4 changed files with 21 additions and 12 deletions
|
|
@ -76,6 +76,7 @@ func main() {
|
|||
LeaderElection: leaderElect,
|
||||
LeaderElectionID: "pve-csr-approver-manager",
|
||||
HealthProbeBindAddress: healthAddr,
|
||||
MetricsBindAddress: "0",
|
||||
SyncPeriod: &syncPeriod,
|
||||
})
|
||||
if err != nil {
|
||||
|
|
@ -117,7 +118,6 @@ func main() {
|
|||
Client: mgr.GetClient(),
|
||||
Log: ctrl.Log.WithName("controllers").WithName("CSR"),
|
||||
Scheme: mgr.GetScheme(),
|
||||
Recorder: mgr.GetEventRecorderFor("pvecluster-controller"),
|
||||
PVEClient: pveClient,
|
||||
CSRClient: typedcertificatesv1beta1.NewForConfigOrDie(rcfg),
|
||||
}).SetupWithManager(mgr, controller.Options{MaxConcurrentReconciles: csrConcurrency}); err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue