Skip to content

Conversation

@stefanprodan
Copy link
Member

@stefanprodan stefanprodan commented Feb 3, 2026

Job with TTL can be deleted after completion during health checking. This PR allows callers to specify which Jobs have TTL enabled so that ssa.Wait will not report not found errors for these.

Changes:

  • Added ExtractJobsWithTTL helper function to ssa/utils package
  • Added JobsWithTTL field to WaitOptions and updated error handling to treat NotFoundStatus for Jobs with TTL as success

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
@stefanprodan stefanprodan added enhancement New feature or request area/server-side-apply SSA related issues and pull requests labels Feb 3, 2026
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
Copy link
Member

@matheuscscp matheuscscp left a comment

Choose a reason for hiding this comment

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

LGTM! 🚀

Great improvement and fix for helm-controller kstatus poller 👌

@matheuscscp matheuscscp merged commit 5a1cbf7 into main Feb 3, 2026
13 checks passed
@matheuscscp matheuscscp deleted the ssa-wait-jobs-ttl branch February 3, 2026 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/server-side-apply SSA related issues and pull requests enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants