Skip to content

Commit

Permalink
Merge pull request #292 from babiel/pdb-matchlabels
Browse files Browse the repository at this point in the history
Disable creation of PDB matchLabels
  • Loading branch information
monopole authored Aug 24, 2018
2 parents 77c07ba + 0833693 commit 633c43a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/transformers/labelsandannotationsconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ var defaultLabelsPathConfigs = []PathConfig{
{
GroupVersionKind: &schema.GroupVersionKind{Group: "policy", Kind: "PodDisruptionBudget"},
Path: []string{"spec", "selector", "matchLabels"},
CreateIfNotPresent: true,
CreateIfNotPresent: false,
},
{
GroupVersionKind: &schema.GroupVersionKind{Group: "networking.k8s.io", Kind: "NetworkPolicy"},
Expand Down

0 comments on commit 633c43a

Please sign in to comment.