Skip to content

Commit 401f330

Browse files
authored
Add environment secrets to multiplayer service (#254)
1 parent ba03209 commit 401f330

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

charts/retool/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: retool
33
description: A Helm chart for Kubernetes
44
type: application
5-
version: 6.8.3
5+
version: 6.8.4
66
maintainers:
77
- name: Retool Engineering
88

charts/retool/templates/deployment_multiplayer_ws.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,13 @@ spec:
148148
key: jwt-secret
149149
{{- end }}
150150
{{- range $key, $value := .Values.multiplayer.environmentVariables }}
151+
{{- range .Values.environmentSecrets }}
152+
- name: {{ .name }}
153+
valueFrom:
154+
secretKeyRef:
155+
name: {{ .secretKeyRef.name }}
156+
key: {{ .secretKeyRef.key }}
157+
{{- end }}
151158
- name: "{{ $key }}"
152159
value: "{{ $value }}"
153160
{{- end }}

0 commit comments

Comments
 (0)