From 747931744d2242abe11ff29ea8f499ed292e731a Mon Sep 17 00:00:00 2001 From: Ben Foster Date: Wed, 11 Sep 2024 10:59:39 -0400 Subject: [PATCH] [bitnami/rabbitmq] Allow rendering resources values (#29347) --- bitnami/rabbitmq/CHANGELOG.md | 8 ++++++-- bitnami/rabbitmq/Chart.yaml | 2 +- bitnami/rabbitmq/templates/statefulset.yaml | 6 +++--- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/bitnami/rabbitmq/CHANGELOG.md b/bitnami/rabbitmq/CHANGELOG.md index c123db87515f11..a81c0f8f11851c 100644 --- a/bitnami/rabbitmq/CHANGELOG.md +++ b/bitnami/rabbitmq/CHANGELOG.md @@ -1,8 +1,12 @@ # Changelog -## 14.6.9 (2024-08-28) +## 14.6.10 (2024-09-11) -* [bitnami/rabbitmq] Release 14.6.9 ([#29092](https://github.com/bitnami/charts/pull/29092)) +* [bitnami/rabbitmq] Allow rendering resources values ([#29347](https://github.com/bitnami/charts/pull/29347)) + +## 14.6.9 (2024-08-28) + +* [bitnami/rabbitmq] Release 14.6.9 (#29092) ([711e2f7](https://github.com/bitnami/charts/commit/711e2f720d92e936b9a67bbdc269d57c33a9dca6)), closes [#29092](https://github.com/bitnami/charts/issues/29092) ## 14.6.8 (2024-08-28) diff --git a/bitnami/rabbitmq/Chart.yaml b/bitnami/rabbitmq/Chart.yaml index 00e973d55e22f6..02a22cb07fddef 100644 --- a/bitnami/rabbitmq/Chart.yaml +++ b/bitnami/rabbitmq/Chart.yaml @@ -30,4 +30,4 @@ maintainers: name: rabbitmq sources: - https://github.com/bitnami/charts/tree/main/bitnami/rabbitmq -version: 14.6.9 +version: 14.6.10 diff --git a/bitnami/rabbitmq/templates/statefulset.yaml b/bitnami/rabbitmq/templates/statefulset.yaml index a4872298456d25..03f2b6aa0fa5cc 100644 --- a/bitnami/rabbitmq/templates/statefulset.yaml +++ b/bitnami/rabbitmq/templates/statefulset.yaml @@ -116,7 +116,7 @@ spec: securityContext: {{- .Values.volumePermissions.containerSecurityContext | toYaml | nindent 12 }} {{- end }} {{- if .Values.volumePermissions.resources }} - resources: {{- toYaml .Values.volumePermissions.resources | nindent 12 }} + resources: {{- include "common.tplvalues.render" (dict "value" .Values.volumePermissions.resources "context" $) | nindent 12 }} {{- else if ne .Values.volumePermissions.resourcesPreset "none" }} resources: {{- include "common.resources.preset" (dict "type" .Values.volumePermissions.resourcesPreset) | nindent 12 }} {{- end }} @@ -134,7 +134,7 @@ spec: image: {{ template "rabbitmq.image" . }} imagePullPolicy: {{ .Values.image.pullPolicy | quote }} {{- if .Values.resources }} - resources: {{- toYaml .Values.resources | nindent 12 }} + resources: {{- include "common.tplvalues.render" (dict "value" .Values.resources "context" $) | nindent 12 }} {{- else if ne .Values.resourcesPreset "none" }} resources: {{- include "common.resources.preset" (dict "type" .Values.resourcesPreset) | nindent 12 }} {{- end }} @@ -344,7 +344,7 @@ spec: {{- end }} {{- end }} {{- if .Values.resources }} - resources: {{- toYaml .Values.resources | nindent 12 }} + resources: {{- include "common.tplvalues.render" (dict "value" .Values.resources "context" $) | nindent 12 }} {{- else if ne .Values.resourcesPreset "none" }} resources: {{- include "common.resources.preset" (dict "type" .Values.resourcesPreset) | nindent 12 }} {{- end }}