From ed2b9a2f9799039c66659cc7f479cd1c648a0c85 Mon Sep 17 00:00:00 2001 From: t3mi Date: Tue, 6 Aug 2024 08:33:16 +0000 Subject: [PATCH] feat(helm): re-use resources value for initContainer Signed-off-by: t3mi --- CHANGELOG.md | 1 + charts/spegel/templates/daemonset.yaml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ce04950c..11a97e64 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - [#520](https://github.com/spegel-org/spegel/pull/520) Add tests for metrics. - [#536](https://github.com/spegel-org/spegel/pull/536) Update Go version to 1.22.5. - [#547](https://github.com/spegel-org/spegel/pull/547) Set blob content type to disable detection. +- [#553](https://github.com/spegel-org/spegel/pull/553) Re-use resources value for initContainer in the Helm Chart. ### Deprecated diff --git a/charts/spegel/templates/daemonset.yaml b/charts/spegel/templates/daemonset.yaml index a1b01d7b..d1c8cfe4 100644 --- a/charts/spegel/templates/daemonset.yaml +++ b/charts/spegel/templates/daemonset.yaml @@ -60,6 +60,8 @@ spec: valueFrom: fieldRef: fieldPath: status.hostIP + resources: + {{- toYaml .Values.resources | nindent 10 }} volumeMounts: - name: containerd-config mountPath: {{ .Values.spegel.containerdRegistryConfigPath }}