Skip to content

Commit

Permalink
Merge pull request #121 from tryretool/roberto/temporal-envvars
Browse files Browse the repository at this point in the history
allow setting of envvars for temporal deployment
  • Loading branch information
roberto-retool authored Sep 26, 2023
2 parents d76ae15 + ca1a1ab commit 2409ebd
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/retool/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: retool
description: A Helm chart for Kubernetes
type: application
version: 6.0.2
version: 6.0.3
maintainers:
- name: Retool Engineering
email: [email protected]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@ spec:
- name: TEMPORAL_VERSION_CHECK_DISABLED
value: "1"
{{- end }}
{{- with $.Values.environmentVariables }}
{{ toYaml . | indent 12 }}
{{- end }}
ports:
- name: rpc
containerPort: {{ include (printf "temporal.%s.grpcPort" $service) $ }}
Expand Down
5 changes: 5 additions & 0 deletions charts/retool/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,11 @@ retool-temporal-services-helm:
cpu: 100m
memory: 128Mi

# Set environment variables for temporal pods, e.g. skipping DB creation step at startup
# environmentVariables:
# - name: SKIP_DB_CREATE
# value: "true"

# Setting this value to true will spin up the temporal web UI, admintools,
# along with prometheus and grafana clusters for debugging performance
# TODO: define this in _helpers.tpl
Expand Down
5 changes: 5 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,11 @@ retool-temporal-services-helm:
cpu: 100m
memory: 128Mi

# Set environment variables for temporal pods, e.g. skipping DB creation step at startup
# environmentVariables:
# - name: SKIP_DB_CREATE
# value: "true"

# Setting this value to true will spin up the temporal web UI, admintools,
# along with prometheus and grafana clusters for debugging performance
# TODO: define this in _helpers.tpl
Expand Down

0 comments on commit 2409ebd

Please sign in to comment.