File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,11 @@ metadata:
1010 {{- end }}
1111spec :
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 "." "-")) }}
Original file line number Diff line number Diff line change @@ -508,6 +508,11 @@ web:
508508 minReadySeconds : 0
509509 podDisruptionBudget : {}
510510schema :
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 : {}
You can’t perform that action at this time.
0 commit comments