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 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 }}