diff --git a/charts/redisoperator/templates/deployment.yaml b/charts/redisoperator/templates/deployment.yaml index 604a44e1f..ec55f5e83 100644 --- a/charts/redisoperator/templates/deployment.yaml +++ b/charts/redisoperator/templates/deployment.yaml @@ -42,8 +42,10 @@ 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: + {{- range .Values.image.cli_args }} + - {{ . | quote }} + {{- end }} {{- end }} imagePullPolicy: {{ .Values.image.pullPolicy }} ports: diff --git a/charts/redisoperator/values.yaml b/charts/redisoperator/values.yaml index 85de83ba2..d0af9a9f8 100644 --- a/charts/redisoperator/values.yaml +++ b/charts/redisoperator/values.yaml @@ -7,7 +7,7 @@ image: repository: quay.io/spotahome/redis-operator pullPolicy: IfNotPresent tag: v1.3.0 - cli_args: "" + cli_args: [] imageCredentials: create: false