Fix template evaluation of podAnnotations (#5299)

This commit is contained in:
jr67481
2021-01-29 14:48:40 +00:00
committed by GitHub
parent fc694c5095
commit 8745e16bf0
2 changed files with 2 additions and 2 deletions

View File

@@ -23,4 +23,4 @@ name: rabbitmq
sources:
- https://github.com/bitnami/bitnami-docker-rabbitmq
- https://www.rabbitmq.com
version: 8.9.0
version: 8.9.1

View File

@@ -41,7 +41,7 @@ Return podAnnotations
*/}}
{{- define "rabbitmq.podAnnotations" -}}
{{- if .Values.podAnnotations }}
{{ toYaml .Values.podAnnotations }}
{{ include "common.tplvalues.render" (dict "value" .Values.podAnnotations "context" $) }}
{{- end }}
{{- if .Values.metrics.enabled }}
{{ include "common.tplvalues.render" (dict "value" .Values.metrics.podAnnotations "context" $) }}