From adb9674fa877faa7585e12a4e283857ec135ec96 Mon Sep 17 00:00:00 2001 From: Amine Date: Fri, 19 May 2023 21:01:57 -0500 Subject: [PATCH] Set `defaultResyncPeriod` helm value to 36000 Fixes https://github.com/aws-controllers-k8s/community/issues/1671 The 0 value of `defaultResyncPeriod` causes the controller to use 10 hours as a `resyncPeriod` .. which is a very confusing. This patch sets the default value to 36000 (10 hours in seconds) to match the expected default behaviour. See https://github.com/aws-controllers-k8s/runtime/blob/main/pkg/runtime/reconciler.go#L48-L51 --- templates/helm/values.yaml.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/helm/values.yaml.tpl b/templates/helm/values.yaml.tpl index 3f63c520e..a22c1f8a1 100644 --- a/templates/helm/values.yaml.tpl +++ b/templates/helm/values.yaml.tpl @@ -110,7 +110,7 @@ deletionPolicy: delete # controller reconciliation configurations reconcile: # The default duration, in seconds, to wait before resyncing desired state of custom resources. - defaultResyncPeriod: 0 + defaultResyncPeriod: 36000 # 10 Hours # An object representing the reconcile resync configuration for each specific resource. resourceResyncPeriods: {}