Skip to content

Commit

Permalink
Merge pull request #122 from tryretool/sidt/dtc-5411-update-docker-im…
Browse files Browse the repository at this point in the history
…ages-with-new-jobs-runner-env-vars

[feat][DTC-5411] updated helm chart for jobs runner temporal access
Sthakur27 authored Oct 16, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents d668868 + 4b93da8 commit f16768b
Showing 2 changed files with 31 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/retool/Chart.yaml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ apiVersion: v2
name: retool
description: A Helm chart for Kubernetes
type: application
version: 6.0.4
version: 6.0.5
maintainers:
- name: Retool Engineering
email: [email protected]
30 changes: 30 additions & 0 deletions charts/retool/templates/deployment_jobs.yaml
Original file line number Diff line number Diff line change
@@ -122,6 +122,36 @@ spec:
key: postgresql-password
{{- end }}
{{- end }}
{{- if and (include "retool.workflows.enabled" .) (or (index .Values "retool-temporal-services-helm" "enabled") (.Values.workflows.temporal.enabled)) }}
- name: WORKFLOW_TEMPORAL_CLUSTER_FRONTEND_HOST
value: {{ template "retool.temporal.host" . }}
- name: WORKFLOW_TEMPORAL_CLUSTER_FRONTEND_PORT
value: {{ template "retool.temporal.port" . }}
- name: WORKFLOW_TEMPORAL_CLUSTER_NAMESPACE
value: {{ template "retool.temporal.namespace" . }}
{{- end }}
{{- if include "retool.workflows.enabled" . }}
- name: WORKFLOW_BACKEND_HOST
value: http://{{ template "retool.fullname" . }}-workflow-backend
{{- end }}
{{- if (.Values.workflows.temporal).sslEnabled }}
- name: WORKFLOW_TEMPORAL_TLS_ENABLED
value: "true"
{{- if (and (.Values.workflows.temporal).sslCert (.Values.workflows.temporal).sslKey) }}
- name: WORKFLOW_TEMPORAL_TLS_CRT
value: {{ .Values.workflows.temporal.sslCert }}
- name: WORKFLOW_TEMPORAL_TLS_KEY
valueFrom:
secretKeyRef:
{{- if (.Values.workflows.temporal).sslKeySecretName }}
name: {{ .Values.workflows.temporal.sslKeySecretName }}
key: {{ .Values.workflows.temporal.sslKeySecretKey | default "temporal-tls-key" }}
{{- else }}
name: {{ template "retool.fullname" . }}
key: "temporal-tls-key"
{{- end }}
{{- end }}
{{- end }}
- name: CLIENT_SECRET
valueFrom:
secretKeyRef:

0 comments on commit f16768b

Please sign in to comment.