diff --git a/cloud/scope/common.go b/cloud/scope/common.go index af9970d4..650d0c71 100644 --- a/cloud/scope/common.go +++ b/cloud/scope/common.go @@ -119,6 +119,8 @@ func CreateS3Clients(ctx context.Context, crClient K8sClient, cluster infrav1alp var ( configOpts = []func(*awsconfig.LoadOptions) error{ awsconfig.WithRegion("auto"), + awsconfig.WithRequestChecksumCalculation(aws.RequestChecksumCalculationWhenRequired), + awsconfig.WithResponseChecksumValidation(aws.ResponseChecksumValidationWhenRequired), } clientOpts = []func(*s3.Options){} diff --git a/cloud/services/domains.go b/cloud/services/domains.go index dfc952fb..e4dbd4f7 100644 --- a/cloud/services/domains.go +++ b/cloud/services/domains.go @@ -64,6 +64,9 @@ func EnsureDNSEntries(ctx context.Context, cscope *scope.ClusterScope, operation func getMachineIPs(cscope *scope.ClusterScope) (ipv4IPs, ipv6IPs []string, err error) { for _, eachMachine := range cscope.LinodeMachines.Items { + if !eachMachine.Status.Ready { + continue + } for _, IPs := range eachMachine.Status.Addresses { if IPs.Type != v1beta1.MachineExternalIP { continue