Skip to content

Commit

Permalink
add DEPLOYMENT_TEMPLATE_TYPE and VERSION to templates
Browse files Browse the repository at this point in the history
  • Loading branch information
avimoondra committed Feb 13, 2024
1 parent 199f806 commit b1e77eb
Show file tree
Hide file tree
Showing 6 changed files with 21 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.15
version: 6.0.16
maintainers:
- name: Retool Engineering
email: [email protected]
Expand Down
4 changes: 4 additions & 0 deletions charts/retool/templates/deployment_backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ spec:
{{ toYaml .Values.commandline.args | indent 10 }}
{{- end }}
env:
- name: DEPLOYMENT_TEMPLATE_TYPE
value: 'k8s-helm'
- name: DEPLOYMENT_TEMPLATE_VERSION
value: {{ .Chart.Version }}
- name: NODE_ENV
value: production
{{- if include "retool.jobRunner.enabled" . }}
Expand Down
4 changes: 4 additions & 0 deletions charts/retool/templates/deployment_code_executor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ spec:
securityContext:
privileged: true
env:
- name: DEPLOYMENT_TEMPLATE_TYPE
value: 'k8s-helm'
- name: DEPLOYMENT_TEMPLATE_VERSION
value: {{ .Chart.Version }}
- name: NODE_ENV
value: production
- name: NODE_OPTIONS
Expand Down
4 changes: 4 additions & 0 deletions charts/retool/templates/deployment_jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ spec:
{{ toYaml .Values.commandline.args | indent 10 }}
{{- end }}
env:
- name: DEPLOYMENT_TEMPLATE_TYPE
value: 'k8s-helm'
- name: DEPLOYMENT_TEMPLATE_VERSION
value: {{ .Chart.Version }}
- name: NODE_ENV
value: production
- name: SERVICE_TYPE
Expand Down
4 changes: 4 additions & 0 deletions charts/retool/templates/deployment_workflows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ spec:
{{ toYaml .Values.commandline.args | indent 10 }}
{{- end }}
env:
- name: DEPLOYMENT_TEMPLATE_TYPE
value: 'k8s-helm'
- name: DEPLOYMENT_TEMPLATE_VERSION
value: {{ .Chart.Version }}
- name: NODE_ENV
value: production
{{ if $.Values.dbconnector.java.enabled }}
Expand Down
4 changes: 4 additions & 0 deletions charts/retool/templates/deployment_workflows_worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ spec:
{{ toYaml .Values.commandline.args | indent 10 }}
{{- end }}
env:
- name: DEPLOYMENT_TEMPLATE_TYPE
value: 'k8s-helm'
- name: DEPLOYMENT_TEMPLATE_VERSION
value: {{ .Chart.Version }}
- name: NODE_ENV
value: production
- name: NODE_OPTIONS
Expand Down

0 comments on commit b1e77eb

Please sign in to comment.