Skip to content

feat: Allow the ability to configure garbage collection on schema-job.#761

Closed
PurseChicken wants to merge 0 commit intotemporalio:mainfrom
PurseChicken:main
Closed

feat: Allow the ability to configure garbage collection on schema-job.#761
PurseChicken wants to merge 0 commit intotemporalio:mainfrom
PurseChicken:main

Conversation

@PurseChicken
Copy link
Copy Markdown

@PurseChicken PurseChicken commented Oct 17, 2025

What was changed

This PR gives the user the ability to configure schema-job garbage collection. Specifically the ability to enable or disable the garbage collection altogether as well as specify the desired time before garbage collection runs against the job if enabled.

See Here for more information about kubernetes garbage collection on job resources.

Why?

Currently garbage collection (.spec.ttlSecondsAfterFinished) is hard coded in the server-job manifest. This means that the job will always delete itself after the specified value (currently 86400). In some cases users may want to either configure the number of seconds before deleting the job manifest, or they may want to disable this garbage collection altogether. This PR takes care of both of those scenarios.

Checklist

  1. Closes [Feature Request] Allow Schema Job ttlSecondsAfterFinished to be configurable #735

  2. How was this tested:
    The chart was validated using helm template --debug as well as packaging it (helm package) and using it in a deployment.

  3. Any docs updates needed?
    No

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Oct 17, 2025

CLA assistant check
All committers have signed the CLA.

@PurseChicken PurseChicken marked this pull request as ready for review October 17, 2025 22:31
@PurseChicken PurseChicken requested a review from a team as a code owner October 17, 2025 22:31
@PurseChicken PurseChicken requested a review from a team as a code owner March 6, 2026 23:15
@PurseChicken
Copy link
Copy Markdown
Author

This was replaced with #857 due to the overhaul of the upstream chart.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Allow Schema Job ttlSecondsAfterFinished to be configurable

3 participants