Skip to content

Commit

Permalink
Replace PodDisruptionBudget if spec changes (#527)
Browse files Browse the repository at this point in the history
  • Loading branch information
lblackstone authored Apr 9, 2019
1 parent b40baec commit e39aa27
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

### Bug fixes

- None
- Replace PodDisruptionBudget if spec changes (https://github.com/pulumi/pulumi-kubernetes/pull/527)

## 0.22.0 (March 25, 2019)

Expand Down
7 changes: 7 additions & 0 deletions pkg/provider/diff.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ var forceNew = groups{
// for compatibility purposes.
"core": core,
"": core,
"policy": versions{
"v1beta1": kinds{"PodDisruptionBudget": podDisruptionBudget},
},
"rbac.authorization.k8s.io": versions{
"v1alpha1": kinds{"ClusterRoleBinding": roleBinding, "RoleBinding": roleBinding},
"v1beta1": kinds{"ClusterRoleBinding": roleBinding, "RoleBinding": roleBinding},
Expand Down Expand Up @@ -114,6 +117,10 @@ var job = properties{
".spec.template",
}

var podDisruptionBudget = properties{
".spec",
}

var roleBinding = properties{
".roleRef",
}
Expand Down

0 comments on commit e39aa27

Please sign in to comment.