From 1b5c9d3d3bd2b50020839866645746c4f7ddad62 Mon Sep 17 00:00:00 2001 From: Curtis John Date: Thu, 15 Aug 2024 08:27:18 -0400 Subject: [PATCH] fix(helm): make use of resource values for webhook (#4560) * fix(helm): make use of resource values for webhook previously these values were omitted due to an omission in the deployment template, now they should be accurately templated when provided to the chart * chore(chart): add provider.webhook.resources fix to changelog --- charts/external-dns/CHANGELOG.md | 6 +++++- charts/external-dns/templates/deployment.yaml | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/charts/external-dns/CHANGELOG.md b/charts/external-dns/CHANGELOG.md index 999ad8652b..db5b2aaa72 100644 --- a/charts/external-dns/CHANGELOG.md +++ b/charts/external-dns/CHANGELOG.md @@ -18,6 +18,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [UNRELEASED] +### Fixed + +- Fixed `provider.webhook.resources` behavior to correctly leverage resource limits ([#4560](https://github.com/kubernetes-sigs/external-dns/pull/4560)) + ## [v1.14.5] - 2023-06-10 ### Added @@ -58,7 +62,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed -- Restore template support in `.Values.provider` and `.Values.provider.name` +- Restore template support in `.Values.provider` and `.Values.provider.name` ## [v1.14.1] - 2024-01-11 diff --git a/charts/external-dns/templates/deployment.yaml b/charts/external-dns/templates/deployment.yaml index 71b00937f6..cc4e3fe478 100644 --- a/charts/external-dns/templates/deployment.yaml +++ b/charts/external-dns/templates/deployment.yaml @@ -173,6 +173,10 @@ spec: {{- toYaml . | nindent 12 }} {{- end }} {{- end }} + {{- with .resources }} + resources: + {{- toYaml . | nindent 12 }} + {{- end }} {{- with .securityContext }} securityContext: {{- toYaml . | nindent 12 }}