[bitnami/redis] Fix missing metrics.command key (#15066)

Signed-off-by: Yohann Hammad <yohann.hammad@protonmail.com>
This commit is contained in:
Yohann
2023-02-21 10:45:23 +01:00
committed by GitHub
parent 61309d1e63
commit 52a754d577

View File

@@ -264,6 +264,8 @@ spec:
{{- end }}
{{- if .Values.diagnosticMode.enabled }}
command: {{- include "common.tplvalues.render" (dict "value" .Values.diagnosticMode.command "context" $) | nindent 12 }}
{{- else if .Values.metrics.command }}
command: {{- include "common.tplvalues.render" (dict "value" .Values.metrics.command "context" $) | nindent 12 }}
{{- else }}
command:
- /bin/bash