-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
-
kubernetes 1.27.1
Pod being scheduled that use a pod template with an [OPA violation|https://kubernetes.io/blog/2019/08/06/opa-gatekeeper-policy-and-governance-for-kubernetes/] are stuck in an infinite loop of attempting to be scheduled but error-ing out with no indication to the end user. Need to abort the build to stop the continuous looping, and display an error message on the build console so the caller knows to fix the pod template error.
Similar situation as previous feature of canceling jobs of invalid docker images JENKINS-53790
- links to
https://github.com/jenkinsci/kubernetes-plugin/pull/825