mirror of
https://github.com/kyverno/kyverno.git
synced 2025-04-09 02:29:22 +00:00
fix: use constants defined in openapi controller (#4919)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
parent
f45584bfd6
commit
8f7db3d4be
1 changed files with 1 additions and 1 deletions
|
@ -332,7 +332,7 @@ func createNonLeaderControllers(
|
|||
)
|
||||
return []controller{
|
||||
newController(policycachecontroller.ControllerName, policyCacheController, policycachecontroller.Workers),
|
||||
newController("openapi-controller", openApiController, 1),
|
||||
newController(openapicontroller.ControllerName, openApiController, openapicontroller.Workers),
|
||||
newController(configcontroller.ControllerName, configurationController, configcontroller.Workers),
|
||||
newController("update-request-controller", updateRequestController, genWorkers),
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue