Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hosting/k8s/helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: trigger
description: The official Trigger.dev Helm chart
type: application
version: 4.5.7-plt663.11
version: 4.5.7-plt663.12
appVersion: v4.5.7
home: https://trigger.dev
sources:
Expand Down
4 changes: 4 additions & 0 deletions hosting/k8s/helm/templates/webapp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ metadata:
{{- include "trigger-v4.componentLabels" (dict "Chart" .Chart "Release" .Release "Values" .Values "component" $component) | nindent 4 }}
spec:
replicas: {{ .Values.webapp.replicaCount }}
{{- with .Values.webapp.strategy }}
strategy:
{{- toYaml . | nindent 4 }}
{{- end }}
selector:
matchLabels:
{{- include "trigger-v4.componentSelectorLabels" (dict "Chart" .Chart "Release" .Release "Values" .Values "component" $component) | nindent 6 }}
Expand Down
7 changes: 7 additions & 0 deletions hosting/k8s/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,13 @@ webapp:

replicaCount: 1

# Deployment update strategy. Empty keeps the Kubernetes default (RollingUpdate).
# Set `type: Recreate` when the webapp mounts a ReadWriteOnce volume (e.g.
# `persistence.shared` with the default access mode): a rolling update starts
# the new pod before the old one stops, and the new pod cannot attach the
# volume while the old pod still holds it.
strategy: {}

service:
type: ClusterIP
port: 3030
Expand Down
Loading