gardener / external-dns-management

Environment to manage external DNS entries for a kubernetes cluster
Apache License 2.0
81 stars 67 forks source link

Reduce memory footprint for secrets #312

Closed MartinWeindel closed 1 year ago

MartinWeindel commented 1 year ago

What this PR does / why we need it: The provider controller watches all secrets on the cluster to update credentials for its providers. If the cluster has lots of secrets, the memory footprint goes up as all complete secret objects are cached in memory. With this PR only the secret metadata is watched and cached to reduce the memory footprint.

Which issue(s) this PR fixes: Fixes #

Special notes for your reviewer:

Release note:

Reduce memory footprint for secrets.
Bump builder image from `golang:1.20.5` to `golang:1.20.7`