From 53bf7eabf365ba45dec4f381dae562ac174791a2 Mon Sep 17 00:00:00 2001 From: kjallen Date: Fri, 3 May 2024 10:58:32 -0700 Subject: [PATCH] Updated Chart to account for env var inconsistancy --- charts/Chart.yaml | 2 +- charts/templates/oral-history-env.yaml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/charts/Chart.yaml b/charts/Chart.yaml index b7449e3d..7265ca44 100644 --- a/charts/Chart.yaml +++ b/charts/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: "0.0.2" description: Chart for Oral History Public-Facing App name: oralhistory -version: 1.0.5 +version: 1.0.6 # The `appVersion` is not a required field whereas `version` is required. If # you’re making changes to a helm chart template file and/or the default values diff --git a/charts/templates/oral-history-env.yaml b/charts/templates/oral-history-env.yaml index 6abb8bed..5757f202 100644 --- a/charts/templates/oral-history-env.yaml +++ b/charts/templates/oral-history-env.yaml @@ -5,4 +5,6 @@ metadata: labels: {{- include "chart.labels" . | nindent 4 }} data: -{{ toYaml .Values.web.env | indent 2 }} +{{- range $k, $v := .Values.web.env }} + {{ $k }}: {{ $v | quote }} +{{- end }}