feat(helm): support topology spread constraints for webapp (#2560)

* feat(helm): support topology spread constraints

* chore(helm): update topology env var

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* chore(helm): limit spread constraints to webapp for now

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
nicktrn
2025-09-30 15:31:04 +01:00
committed by GitHub
parent ddebe4dce0
commit 12cceaa779
3 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v2
name: trigger
description: The official Trigger.dev Helm chart
type: application
version: 4.0.1
version: 4.0.2
appVersion: v4.0.4
home: https://trigger.dev
sources:
+4
View File
@@ -419,6 +419,10 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.webapp.topologySpreadConstraints }}
topologySpreadConstraints:
{{- tpl (toYaml .) $ | nindent 8 }}
{{- end }}
---
apiVersion: v1
kind: Service
+2
View File
@@ -69,6 +69,8 @@ webapp:
nodeSelector: {}
tolerations: []
affinity: {}
# Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
topologySpreadConstraints: []
logLevel: "info"
gracefulShutdownTimeout: 1000