Skip to content

Commit 94441b0

Browse files
committed
Update to match 0.73.2
1 parent 90f1cf7 commit 94441b0

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

charts/temporal/templates/server-job.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ metadata:
1010
{{- end }}
1111
spec:
1212
backoffLimit: {{ $.Values.schema.backoffLimit }}
13+
{{- if and $.Values.schema.garbageCollection $.Values.schema.garbageCollection.enabled }}
14+
ttlSecondsAfterFinished: {{ $.Values.schema.garbageCollection.ttlSeconds | default 86400 }}
15+
{{- else if not $.Values.schema.garbageCollection }}
1316
ttlSecondsAfterFinished: 86400
17+
{{- end }}
1418
template:
1519
metadata:
1620
name: {{ include "temporal.componentname" (list $ (printf "schema-%d" .Release.Revision | replace "." "-")) }}

charts/temporal/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,11 @@ web:
508508
minReadySeconds: 0
509509
podDisruptionBudget: {}
510510
schema:
511+
garbageCollection:
512+
# Enable or disable the job garbage collection
513+
enabled: true
514+
# If enabled, time before the job is removed in seconds. Default 86400
515+
ttlSeconds: 86400
511516
backoffLimit: 100
512517
jobAnnotations: {}
513518
podAnnotations: {}

0 commit comments

Comments
 (0)