From c4933561082a6ee47200cb277b467dd2e0e1f663 Mon Sep 17 00:00:00 2001 From: ohchang-kwon Date: Tue, 11 Mar 2025 21:12:23 +0900 Subject: [PATCH] fix templating of `cli_args` values #19 --- charts/redisoperator/templates/deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/redisoperator/templates/deployment.yaml b/charts/redisoperator/templates/deployment.yaml index 604a44e1f..edca3eaa4 100644 --- a/charts/redisoperator/templates/deployment.yaml +++ b/charts/redisoperator/templates/deployment.yaml @@ -42,8 +42,8 @@ spec: - name: {{ .Chart.Name }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion}}" {{- if .Values.image.cli_args }} - args: - - {{ quote .Values.image.cli_args }} + args: + {{- toYaml .Values.image.cli_args | nindent 8 }} {{- end }} imagePullPolicy: {{ .Values.image.pullPolicy }} ports: