From 0fc889f96e0330c6aa067189a3e324565e2b5eaa Mon Sep 17 00:00:00 2001 From: Sid Thakur Date: Fri, 13 Oct 2023 14:38:11 -0700 Subject: [PATCH 1/3] updated helm chart for jobs runner temporal accessg --- charts/retool/templates/deployment_jobs.yaml | 30 ++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/charts/retool/templates/deployment_jobs.yaml b/charts/retool/templates/deployment_jobs.yaml index 1c7710fa..1aa34892 100644 --- a/charts/retool/templates/deployment_jobs.yaml +++ b/charts/retool/templates/deployment_jobs.yaml @@ -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: From dfacaf5ceff5317f72a028b3f742b0b9e03bf29e Mon Sep 17 00:00:00 2001 From: Sid Thakur Date: Fri, 13 Oct 2023 14:59:40 -0700 Subject: [PATCH 2/3] bump chart version i guess --- charts/retool/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/retool/Chart.yaml b/charts/retool/Chart.yaml index 29cf3061..f32e20ce 100644 --- a/charts/retool/Chart.yaml +++ b/charts/retool/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: retool description: A Helm chart for Kubernetes type: application -version: 6.0.3 +version: 6.0.4 maintainers: - name: Retool Engineering email: engineering+helm@retool.com From 4b93da8c1cf43a1bea86873801a2f393e4d124c4 Mon Sep 17 00:00:00 2001 From: Sid Thakur Date: Mon, 16 Oct 2023 11:45:28 -0700 Subject: [PATCH 3/3] synced w main + version bump --- charts/retool/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/retool/Chart.yaml b/charts/retool/Chart.yaml index f32e20ce..e52e1aee 100644 --- a/charts/retool/Chart.yaml +++ b/charts/retool/Chart.yaml @@ -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: engineering+helm@retool.com