We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents aabb395 + 14fd46b commit a6ca959Copy full SHA for a6ca959
operator/src/main/java/oracle/kubernetes/operator/watcher/JobWatcher.java
@@ -171,7 +171,8 @@ public static String getFailedReason(V1Job job) {
171
V1JobStatus status = job.getStatus();
172
if (status != null && status.getConditions() != null) {
173
for (V1JobCondition cond : status.getConditions()) {
174
- if ("Failed".equals(cond.getType()) && "True".equals(cond.getStatus())) {
+ if (("FailureTarget".equals(cond.getType()) || "Failed".equals(cond.getType()))
175
+ && "True".equals(cond.getStatus())) {
176
return cond.getReason();
177
}
178
0 commit comments