Skip to content

Commit f1a0ec0

Browse files
authored
add license key to the multiplyaer deployment (#268)
1 parent a6c0224 commit f1a0ec0

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-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.9.1
5+
version: 6.9.2
66
maintainers:
77
- name: Retool Engineering
88
email: engineering+helm@retool.com

charts/retool/templates/deployment_multiplayer_ws.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,16 @@ spec:
127127
key: postgresql-password
128128
{{- end }}
129129
{{- end }}
130+
- name: LICENSE_KEY
131+
valueFrom:
132+
secretKeyRef:
133+
{{- if .Values.config.licenseKeySecretName }}
134+
name: {{ .Values.config.licenseKeySecretName }}
135+
key: {{ .Values.config.licenseKeySecretKey | default "license-key" }}
136+
{{- else }}
137+
name: {{ template "retool.fullname" . }}
138+
key: license-key
139+
{{- end }}
130140
- name: ENCRYPTION_KEY
131141
valueFrom:
132142
secretKeyRef:

0 commit comments

Comments
 (0)