Add Job timeout enforcement policy
This policy ensures all Kubernetes Jobs have a reasonable timeout set via activeDeadlineSeconds to prevent indefinitely running jobs and resource consumption issues.
Related Issue(s)
Description
- It addresses a common operational issue (stuck jobs)
- It provides reasonable defaults (1-24 hours)
- It's part of resource lifecycle management
- It helps prevent resource leaks
Checklist
-
I have read the policy contribution guidelines. -
I have added test manifests and resources covering both positive and negative tests that prove this policy works as intended. -
I have added the artifacthub-pkg.yml file and have verified it is complete and correct.