Skip to content

Commit 2409ebd

Browse files
Merge pull request #121 from tryretool/roberto/temporal-envvars
allow setting of envvars for temporal deployment
2 parents d76ae15 + ca1a1ab commit 2409ebd

File tree

4 files changed

+14
-1
lines changed

4 files changed

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

charts/retool/charts/retool-temporal-services-helm/templates/server-deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,9 @@ spec:
184184
- name: TEMPORAL_VERSION_CHECK_DISABLED
185185
value: "1"
186186
{{- end }}
187+
{{- with $.Values.environmentVariables }}
188+
{{ toYaml . | indent 12 }}
189+
{{- end }}
187190
ports:
188191
- name: rpc
189192
containerPort: {{ include (printf "temporal.%s.grpcPort" $service) $ }}

charts/retool/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,11 @@ retool-temporal-services-helm:
490490
cpu: 100m
491491
memory: 128Mi
492492

493+
# Set environment variables for temporal pods, e.g. skipping DB creation step at startup
494+
# environmentVariables:
495+
# - name: SKIP_DB_CREATE
496+
# value: "true"
497+
493498
# Setting this value to true will spin up the temporal web UI, admintools,
494499
# along with prometheus and grafana clusters for debugging performance
495500
# TODO: define this in _helpers.tpl

values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,11 @@ retool-temporal-services-helm:
490490
cpu: 100m
491491
memory: 128Mi
492492

493+
# Set environment variables for temporal pods, e.g. skipping DB creation step at startup
494+
# environmentVariables:
495+
# - name: SKIP_DB_CREATE
496+
# value: "true"
497+
493498
# Setting this value to true will spin up the temporal web UI, admintools,
494499
# along with prometheus and grafana clusters for debugging performance
495500
# TODO: define this in _helpers.tpl

0 commit comments

Comments
 (0)