@@ -59,18 +59,18 @@ func init() {
59
59
60
60
func main () {
61
61
var (
62
- metricsAddr string
63
- probeAddr string
64
- enableLeaderElection bool
65
- concurrent int
62
+ metricsAddr string
63
+ probeAddr string
64
+ enableLeaderElection bool
65
+ concurrentReconciliations int
66
66
)
67
67
68
68
flag .StringVar (& metricsAddr , "metrics-bind-address" , ":8080" , "The address the metric endpoint binds to." )
69
69
flag .StringVar (& probeAddr , "health-probe-bind-address" , ":8081" , "The address the probe endpoint binds to." )
70
70
flag .BoolVar (& enableLeaderElection , "leader-elect" , false ,
71
71
"Enable leader election for controller manager. " +
72
72
"Enabling this will ensure there is only one active controller manager." )
73
- flag .IntVar (& concurrent , "concurrent" , 5 , "The number of concurrent reconciles per controller." )
73
+ flag .IntVar (& concurrentReconciliations , "concurrent" , 5 , "The number of concurrent reconciles per controller." )
74
74
opts := zap.Options {
75
75
Development : true ,
76
76
}
@@ -88,7 +88,7 @@ func main() {
88
88
LeaderElectionID : "bfbf93f2.uffizzi.com" ,
89
89
Controller : ctrlcfg.ControllerConfigurationSpec {
90
90
GroupKindConcurrency : map [string ]int {
91
- uclusteruffizzicomv1alpha1 .SchemaGroupVersion .WithKind ("UffizziCluster" ).String (): concurrent ,
91
+ uclusteruffizzicomv1alpha1 .SchemaGroupVersion .WithKind ("UffizziCluster" ).GroupKind (). String (): concurrentReconciliations ,
92
92
},
93
93
RecoverPanic : pointer .Bool (true ),
94
94
},
0 commit comments