Werk #17215 · Nov 27, 24
kube: Fix Agent exited with code 1: 'Failuretarget' is not a valid JobConditionType
In Kubernetes 1.31, the feature JobSuccessPolicy has been enabled by default.
With this feature a new JobCondition is exposed via the API, which resulted in the following error:
Agent exited with code 1: 'Failuretarget' is not a valid JobConditionType
This error has been fixed. The new conditions FailureTarget and SuccessCriteriaMet are treated the same as the Failure and Success conditions respectively.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 2.4.0b1All Editions
- 2.3.0p22CommunityProUltimateUltimate + MT