Add more metrics to the IAM Folder Reconciler (#111275)
* Add more metrics to the operator * Add namespace when logging metrics * Skip flaky test
This commit is contained in:
@@ -217,12 +217,18 @@ func (s *ModuleServer) initOperatorServer() (services.Service, error) {
|
||||
return services.NewBasicService(
|
||||
nil,
|
||||
func(ctx context.Context) error {
|
||||
context := cli.NewContext(&cli.App{}, nil, nil)
|
||||
return op.RunFunc(standalone.BuildInfo{
|
||||
Version: s.version,
|
||||
Commit: s.commit,
|
||||
BuildBranch: s.buildBranch,
|
||||
}, context, s.cfg)
|
||||
cliContext := cli.NewContext(&cli.App{}, nil, nil)
|
||||
deps := OperatorDependencies{
|
||||
BuildInfo: standalone.BuildInfo{
|
||||
Version: s.version,
|
||||
Commit: s.commit,
|
||||
BuildBranch: s.buildBranch,
|
||||
},
|
||||
CLIContext: cliContext,
|
||||
Config: s.cfg,
|
||||
Registerer: s.registerer,
|
||||
}
|
||||
return op.RunFunc(deps)
|
||||
},
|
||||
nil,
|
||||
).WithName("operator"), nil
|
||||
|
||||
Reference in New Issue
Block a user