From 6f831b6c6737de6cf663546c923ad38ecf95b539 Mon Sep 17 00:00:00 2001 From: Mark Silverberg Date: Thu, 4 Jun 2026 16:32:30 -0500 Subject: [PATCH] Wire startupProbe into workflows-backend and code-executor The .Values.startupProbe block already existed in values.yaml but was only consumed by deployment_backend.yaml. Mirror the same conditional into the workflows-backend and code-executor deployments so the existing values apply uniformly. Co-Authored-By: Claude Opus 4.7 (1M context) --- charts/retool/Chart.yaml | 2 +- charts/retool/templates/deployment_code_executor.yaml | 10 ++++++++++ charts/retool/templates/deployment_workflows.yaml | 10 ++++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/charts/retool/Chart.yaml b/charts/retool/Chart.yaml index c152d31a..631d539b 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.8.1 +version: 6.8.2 maintainers: - name: Retool Engineering email: engineering+helm@retool.com diff --git a/charts/retool/templates/deployment_code_executor.yaml b/charts/retool/templates/deployment_code_executor.yaml index 50140b2b..32b09284 100644 --- a/charts/retool/templates/deployment_code_executor.yaml +++ b/charts/retool/templates/deployment_code_executor.yaml @@ -106,6 +106,16 @@ spec: timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }} successThreshold: {{ .Values.readinessProbe.successThreshold }} periodSeconds: {{ .Values.readinessProbe.periodSeconds }} +{{- end }} +{{- if .Values.startupProbe.enabled }} + startupProbe: + httpGet: + path: {{ .Values.startupProbe.path }} + port: 3004 + initialDelaySeconds: {{ .Values.startupProbe.initialDelaySeconds }} + timeoutSeconds: {{ .Values.startupProbe.timeoutSeconds }} + successThreshold: {{ .Values.startupProbe.successThreshold }} + periodSeconds: {{ .Values.startupProbe.periodSeconds }} {{- end }} resources: {{ toYaml .Values.codeExecutor.resources | indent 10 }} diff --git a/charts/retool/templates/deployment_workflows.yaml b/charts/retool/templates/deployment_workflows.yaml index 57990d6d..c923a009 100644 --- a/charts/retool/templates/deployment_workflows.yaml +++ b/charts/retool/templates/deployment_workflows.yaml @@ -273,6 +273,16 @@ spec: timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }} successThreshold: {{ .Values.readinessProbe.successThreshold }} periodSeconds: {{ .Values.readinessProbe.periodSeconds }} +{{- end }} +{{- if .Values.startupProbe.enabled }} + startupProbe: + httpGet: + path: {{ .Values.startupProbe.path }} + port: {{ .Values.service.internalPort }} + initialDelaySeconds: {{ .Values.startupProbe.initialDelaySeconds }} + timeoutSeconds: {{ .Values.startupProbe.timeoutSeconds }} + successThreshold: {{ .Values.startupProbe.successThreshold }} + periodSeconds: {{ .Values.startupProbe.periodSeconds }} {{- end }} resources: {{- if .Values.workflows.backend.resources }}