Fix replacement logic in `Job`
Fixes
@@ -62,6 +62,11 @@ var forceNew = groups{
},
},
},
+ "batch": versions{
+ "v1beta1": kinds{"Job": job},
+ "v1": kinds{"Job": job},
+ "v2alpha1": kinds{"Job": job},
+ },
}
var core = versions{
@@ -99,6 +104,10 @@ var deployment = properties{
".spec.selector",
}
+var job = properties{
+ ".spec.selector",
+}
+
var statefulSet = properties{
".spec.podManagementPolicy",
".spec.revisionHistoryLimit",
