[bitnami/rabbitmq] Fix crash setting up metric.podAnnotions to null (#6047)

This commit is contained in:
alvneiayu
2021-04-08 10:45:12 +02:00
committed by GitHub
parent 3262147df7
commit 0ab4f88a4f
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.11.5
version: 8.11.6

View File

@@ -43,7 +43,7 @@ Return podAnnotations
{{- if .Values.podAnnotations }}
{{ include "common.tplvalues.render" (dict "value" .Values.podAnnotations "context" $) }}
{{- end }}
{{- if .Values.metrics.enabled }}
{{- if and .Values.metrics.enabled .Values.metrics.podAnnotations }}
{{ include "common.tplvalues.render" (dict "value" .Values.metrics.podAnnotations "context" $) }}
{{- end }}
{{- end -}}