Skip to content

Commit 633c43a

Browse files
authored
Merge pull request #292 from babiel/pdb-matchlabels
Disable creation of PDB matchLabels
2 parents 77c07ba + 0833693 commit 633c43a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/transformers/labelsandannotationsconfig.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ var defaultLabelsPathConfigs = []PathConfig{
157157
{
158158
GroupVersionKind: &schema.GroupVersionKind{Group: "policy", Kind: "PodDisruptionBudget"},
159159
Path: []string{"spec", "selector", "matchLabels"},
160-
CreateIfNotPresent: true,
160+
CreateIfNotPresent: false,
161161
},
162162
{
163163
GroupVersionKind: &schema.GroupVersionKind{Group: "networking.k8s.io", Kind: "NetworkPolicy"},

0 commit comments

Comments
 (0)