mirror of
https://github.com/kyverno/kyverno.git
synced 2025-01-20 18:52:16 +00:00
fix: add background scan interval log (#7065)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
parent
4b15985ead
commit
b45678774a
1 changed files with 1 additions and 0 deletions
|
@ -204,6 +204,7 @@ func main() {
|
||||||
// THIS IS AN UGLY FIX
|
// THIS IS AN UGLY FIX
|
||||||
// ELSE KYAML IS NOT THREAD SAFE
|
// ELSE KYAML IS NOT THREAD SAFE
|
||||||
kyamlopenapi.Schema()
|
kyamlopenapi.Schema()
|
||||||
|
setup.Logger.Info("background scan interval", "duration", backgroundScanInterval.String())
|
||||||
// informer factories
|
// informer factories
|
||||||
kyvernoInformer := kyvernoinformer.NewSharedInformerFactory(setup.KyvernoClient, resyncPeriod)
|
kyvernoInformer := kyvernoinformer.NewSharedInformerFactory(setup.KyvernoClient, resyncPeriod)
|
||||||
eventGenerator := event.NewEventGenerator(
|
eventGenerator := event.NewEventGenerator(
|
||||||
|
|
Loading…
Add table
Reference in a new issue