1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-28 10:28:36 +00:00

increase resync time

This commit is contained in:
shivkumar dudhani 2019-08-12 10:51:17 -07:00
parent 9af6bf9003
commit 9f0e5d2fe3

View file

@ -50,8 +50,8 @@ func main() {
// watches CRD resources:
// - Policy
// - PolicyVolation
// - cache resync time: 10 seconds
pInformer := kyvernoinformer.NewSharedInformerFactoryWithOptions(pclient, 10)
// - cache resync time: 30 seconds
pInformer := kyvernoinformer.NewSharedInformerFactoryWithOptions(pclient, 30)
// POLICY CONTROLLER
// - reconciliation policy and policy violation