Skip to content

Commit e9b6859

Browse files
authored
Set defaultResyncPeriod helm value to 36000 (#450)
Fixes aws-controllers-k8s/community#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 By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent e04fca8 commit e9b6859

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/helm/values.yaml.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ deletionPolicy: delete
110110
# controller reconciliation configurations
111111
reconcile:
112112
# The default duration, in seconds, to wait before resyncing desired state of custom resources.
113-
defaultResyncPeriod: 0
113+
defaultResyncPeriod: 36000 # 10 Hours
114114
# An object representing the reconcile resync configuration for each specific resource.
115115
resourceResyncPeriods: {}
116116

0 commit comments

Comments
 (0)