From ec875b5d0b3b7fff4e7783ed89884e6e55b6f7a6 Mon Sep 17 00:00:00 2001 From: jatin Date: Thu, 9 Oct 2025 14:07:42 -0700 Subject: [PATCH] Add environment secrets to multiplayer service --- charts/retool/Chart.yaml | 2 +- charts/retool/templates/deployment_multiplayer_ws.yaml | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/charts/retool/Chart.yaml b/charts/retool/Chart.yaml index 4a19021..2bb6f2f 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.8.3 +version: 6.8.4 maintainers: - name: Retool Engineering email: engineering+helm@retool.com diff --git a/charts/retool/templates/deployment_multiplayer_ws.yaml b/charts/retool/templates/deployment_multiplayer_ws.yaml index 25d4f85..19785c5 100644 --- a/charts/retool/templates/deployment_multiplayer_ws.yaml +++ b/charts/retool/templates/deployment_multiplayer_ws.yaml @@ -148,6 +148,13 @@ spec: key: jwt-secret {{- end }} {{- range $key, $value := .Values.multiplayer.environmentVariables }} + {{- range .Values.environmentSecrets }} + - name: {{ .name }} + valueFrom: + secretKeyRef: + name: {{ .secretKeyRef.name }} + key: {{ .secretKeyRef.key }} + {{- end }} - name: "{{ $key }}" value: "{{ $value }}" {{- end }}