From 836b87d517aa662f94ad8e71f1a1d13c8f167892 Mon Sep 17 00:00:00 2001 From: "M. Mert Yildiran" Date: Mon, 19 Jun 2023 01:46:51 +0300 Subject: [PATCH] :zap: Template the `SCRIPTING_ENV` env in Hub pod (Helm) --- helm-chart/templates/04-hub-pod.yaml | 2 +- helm-chart/values.yaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/helm-chart/templates/04-hub-pod.yaml b/helm-chart/templates/04-hub-pod.yaml index 6cfb09487..a0cb323a9 100644 --- a/helm-chart/templates/04-hub-pod.yaml +++ b/helm-chart/templates/04-hub-pod.yaml @@ -21,7 +21,7 @@ spec: - name: LICENSE value: '{{ .Values.license }}' - name: SCRIPTING_ENV - value: '{}' + value: '{{ .Values.scripting.env | toJson }}' - name: SCRIPTING_SCRIPTS value: '[]' - name: AUTH_APPROVED_DOMAINS diff --git a/helm-chart/values.yaml b/helm-chart/values.yaml index e8f660c02..3ca627519 100644 --- a/helm-chart/values.yaml +++ b/helm-chart/values.yaml @@ -60,6 +60,7 @@ dumplogs: false headless: false license: "" scripting: - env: {} + env: + EXAMPLE: VALUE source: "" watchScripts: true