Skip to content

Commit

Permalink
Fix replacement logic in Job
Browse files Browse the repository at this point in the history
Fixes #316.
  • Loading branch information
hausdorff committed Dec 20, 2018
1 parent 2edde48 commit ddd03df
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkg/provider/diff.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ var forceNew = groups{
},
},
},
"batch": versions{
"v1beta1": kinds{"Job": job},
"v1": kinds{"Job": job},
"v2alpha1": kinds{"Job": job},
},
}

var core = versions{
Expand Down Expand Up @@ -99,6 +104,10 @@ var deployment = properties{
".spec.selector",
}

var job = properties{
".spec.selector",
}

var statefulSet = properties{
".spec.podManagementPolicy",
".spec.revisionHistoryLimit",
Expand Down

0 comments on commit ddd03df

Please sign in to comment.