From 391b536c13627b9c4bad19d14087c9f045e4bc3c Mon Sep 17 00:00:00 2001 From: Adam Medzinski Date: Fri, 4 Jan 2019 14:55:48 +0100 Subject: [PATCH] Change default AWSBatchChangeSize to 1000 AWS API ChangeResourceRecordSets method only allows 1000 ResourceRecord elements in one call, so the previous value was not very useful. --- pkg/apis/externaldns/types.go | 2 +- pkg/apis/externaldns/types_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/apis/externaldns/types.go b/pkg/apis/externaldns/types.go index 5e50ea374..5de4aca5c 100644 --- a/pkg/apis/externaldns/types.go +++ b/pkg/apis/externaldns/types.go @@ -130,7 +130,7 @@ var defaultConfig = &Config{ AWSZoneType: "", AWSZoneTagFilter: []string{}, AWSAssumeRole: "", - AWSBatchChangeSize: 4000, + AWSBatchChangeSize: 1000, AWSBatchChangeInterval: time.Second, AWSEvaluateTargetHealth: true, AzureConfigFile: "/etc/kubernetes/azure.json", diff --git a/pkg/apis/externaldns/types_test.go b/pkg/apis/externaldns/types_test.go index bdee0a22d..8a1f1854f 100644 --- a/pkg/apis/externaldns/types_test.go +++ b/pkg/apis/externaldns/types_test.go @@ -45,7 +45,7 @@ var ( AWSZoneType: "", AWSZoneTagFilter: []string{""}, AWSAssumeRole: "", - AWSBatchChangeSize: 4000, + AWSBatchChangeSize: 1000, AWSBatchChangeInterval: time.Second, AWSEvaluateTargetHealth: true, AzureConfigFile: "/etc/kubernetes/azure.json",