From 6632cec06f368b5336f7722aa559838ea82ab312 Mon Sep 17 00:00:00 2001 From: Ryan Artecona Date: Tue, 5 May 2026 12:21:56 -0700 Subject: [PATCH 1/2] fix for bug in #278 --- charts/retool/ci/test-env-option.yaml | 5 +++++ charts/retool/templates/_helpers.tpl | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/charts/retool/ci/test-env-option.yaml b/charts/retool/ci/test-env-option.yaml index 0ab98df..1e4f32a 100644 --- a/charts/retool/ci/test-env-option.yaml +++ b/charts/retool/ci/test-env-option.yaml @@ -1,5 +1,10 @@ env: + # string-valued vars should obviously work + STRINGVAR: "mystring" + # tests to ensure non-string primitives still print as strings + BOOLVAR: true + INTVAR: 1000 # test to ensure dynamic env vars render valid schema FOOBAR: valueFrom: diff --git a/charts/retool/templates/_helpers.tpl b/charts/retool/templates/_helpers.tpl index 1e9b956..9ee5e45 100644 --- a/charts/retool/templates/_helpers.tpl +++ b/charts/retool/templates/_helpers.tpl @@ -421,7 +421,7 @@ Usage: {{- include "retool.env" .Values.env | nindent 10 }} */}} {{- define "retool.env" -}} {{- range $key, $value := . }} -{{- if kindIs "string" $value }} +{{- if not (kindIs "map" $value) }} - name: "{{ $key }}" value: "{{ $value }}" {{- else }} From 05351cbed3ce01147bea0605d6a66448e7b4bba0 Mon Sep 17 00:00:00 2001 From: Ryan Artecona Date: Tue, 5 May 2026 12:58:01 -0700 Subject: [PATCH 2/2] patch bump --- charts/retool/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/retool/Chart.yaml b/charts/retool/Chart.yaml index a6e89dd..80ed65e 100644 --- a/charts/retool/Chart.yaml +++ b/charts/retool/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: retool description: A Helm chart for Kubernetes type: application -version: 6.10.4 +version: 6.10.5 maintainers: - name: Retool Engineering email: engineering+helm@retool.com