diff --git a/pkg/transformers/labelsandannotationsconfig.go b/pkg/transformers/labelsandannotationsconfig.go index d64d7e041..7156fee78 100644 --- a/pkg/transformers/labelsandannotationsconfig.go +++ b/pkg/transformers/labelsandannotationsconfig.go @@ -107,6 +107,11 @@ var defaultLabelsPathConfigs = []PathConfig{ Path: []string{"spec", "jobTemplate", "spec", "template", "metadata", "labels"}, CreateIfNotPresent: true, }, + { + GroupVersionKind: &schema.GroupVersionKind{Group: "policy", Kind: "PodDisruptionBudget"}, + Path: []string{"spec", "selector", "matchLabels"}, + CreateIfNotPresent: true, + }, } // defaultLabelsPathConfigs is the default configuration for mutating annotations