mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-10 08:20:59 +00:00
Merge pull request #58 from sethpollack/labels
add PodDisruptionBudget labels
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user