Skip to content

Conversation

@simonhir
Copy link
Contributor

@simonhir simonhir commented Dec 16, 2025

What this PR does / why we need it

  • Allow configuration of init Job ttlSecondsAfterFinished
  • Set default of init Job ttlSecondsAfterFinished to 1h as 5m seams not really like a production useful value
    • (In my opinion 1h is a good compromise between as short as possible but useful)

Which issue this PR fixes

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

  • Chart Version bumped
  • [ ] Upgrading instructions are documented in the zammad/README.md (not required)

@mgruner mgruner requested a review from monotek January 14, 2026 06:51
@mgruner
Copy link
Collaborator

mgruner commented Jan 14, 2026

LGTM, what do you think @monotek?

initJob:
randomName: true
# specify how long after finish pods are deleted
ttlSecondsAfterFinished: 3600
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please keep the current valu as default here.

Suggested change
ttlSecondsAfterFinished: 3600
ttlSecondsAfterFinished: 300

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@monotek why? I believe the change was done on purpose to make the default more user friendly. And it should not hurt?

Copy link
Member

@monotek monotek Feb 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we change a default value it changes for all users updating the chart unexpectingly.

If we change a default we should raise the major version of the chart an add the change to the upgrading section of the readme.

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.

Allow setting ttlSecondsAfterFinished on the init job

3 participants