mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-15 17:51:20 +00:00
refactor: move per namespace reports aggregator in a sub package (#8419)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
parent
a5e6a7fa33
commit
fa36f76cf9
3 changed files with 4 additions and 4 deletions
|
@ -15,7 +15,7 @@ import (
|
|||
"github.com/kyverno/kyverno/pkg/clients/dclient"
|
||||
"github.com/kyverno/kyverno/pkg/config"
|
||||
admissionreportcontroller "github.com/kyverno/kyverno/pkg/controllers/report/admission"
|
||||
aggregatereportcontroller "github.com/kyverno/kyverno/pkg/controllers/report/aggregate"
|
||||
aggregatereportcontroller "github.com/kyverno/kyverno/pkg/controllers/report/aggregate/namespace"
|
||||
backgroundscancontroller "github.com/kyverno/kyverno/pkg/controllers/report/background"
|
||||
resourcereportcontroller "github.com/kyverno/kyverno/pkg/controllers/report/resource"
|
||||
engineapi "github.com/kyverno/kyverno/pkg/engine/api"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package aggregate
|
||||
package namespace
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
@ -34,7 +34,7 @@ import (
|
|||
const (
|
||||
// Workers is the number of workers for this controller
|
||||
Workers = 1
|
||||
ControllerName = "aggregate-report-controller"
|
||||
ControllerName = "namespace-aggregate-report-controller"
|
||||
maxRetries = 10
|
||||
mergeLimit = 1000
|
||||
enqueueDelay = 30 * time.Second
|
|
@ -1,4 +1,4 @@
|
|||
package aggregate
|
||||
package namespace
|
||||
|
||||
import "github.com/kyverno/kyverno/pkg/logging"
|
||||
|
Loading…
Reference in a new issue