feat(waiter): add native wait support for Job resources (#1202) (#1211)

Add a `job_complete` predicate that waits for Job resources to reach
either `Complete` or `Failed` condition, removing the need for custom
wait_condition workarounds.

Also rename shadowed `match` variable to `match_condition` in
`custom_condition` to avoid masking the Python built-in.

Fixes ansible-collections/kubernetes.core#1201


(cherry picked from commit 3e58e3a9ad)

Co-authored-by: Bikouo Aubin <79859644+abikouo@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
patchback[bot]
2026-08-10 16:49:59 +02:00
committed by GitHub
co-authored by Bikouo Aubin Claude Opus 4.6
parent 477bb79305
commit 79e98c3d6e
2 changed files with 23 additions and 6 deletions
@@ -0,0 +1,4 @@
---
minor_changes:
- "waiter - Add ``job_complete`` predicate to support waiting for Job resources
to reach ``Complete`` or ``Failed`` condition (https://github.com/ansible-collections/kubernetes.core/issues/1201)."