mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +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"},
|
Path: []string{"spec", "jobTemplate", "spec", "template", "metadata", "labels"},
|
||||||
CreateIfNotPresent: true,
|
CreateIfNotPresent: true,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{Group: "policy", Kind: "PodDisruptionBudget"},
|
||||||
|
Path: []string{"spec", "selector", "matchLabels"},
|
||||||
|
CreateIfNotPresent: true,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
// defaultLabelsPathConfigs is the default configuration for mutating annotations
|
// defaultLabelsPathConfigs is the default configuration for mutating annotations
|
||||||
|
|||||||
Reference in New Issue
Block a user