From f04473ad4195685b1581a7e7e2a91f8038c67ae1 Mon Sep 17 00:00:00 2001 From: zhuangqh Date: Thu, 5 Dec 2024 16:43:05 +1100 Subject: [PATCH] fix: chart tpl when rendering feature gate flag Signed-off-by: jerryzhuang --- charts/kaito/workspace/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/kaito/workspace/templates/deployment.yaml b/charts/kaito/workspace/templates/deployment.yaml index 92989f6a9..7ba996a52 100644 --- a/charts/kaito/workspace/templates/deployment.yaml +++ b/charts/kaito/workspace/templates/deployment.yaml @@ -33,7 +33,7 @@ spec: image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} args: - - --feature-gates={{- range $k, $v := .Values.featureGates }}{{ $k }}={{ $v}}{{- end }} + - --feature-gates={{- range $k, $v := .Values.featureGates }}{{ $k }}={{ $v}},{{- end | trimSuffix \",\" }} env: - name: WEBHOOK_SERVICE value: {{ include "kaito.fullname" . }}