mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
Merge pull request #292 from babiel/pdb-matchlabels
Disable creation of PDB matchLabels
This commit is contained in:
@@ -157,7 +157,7 @@ var defaultLabelsPathConfigs = []PathConfig{
|
|||||||
{
|
{
|
||||||
GroupVersionKind: &schema.GroupVersionKind{Group: "policy", Kind: "PodDisruptionBudget"},
|
GroupVersionKind: &schema.GroupVersionKind{Group: "policy", Kind: "PodDisruptionBudget"},
|
||||||
Path: []string{"spec", "selector", "matchLabels"},
|
Path: []string{"spec", "selector", "matchLabels"},
|
||||||
CreateIfNotPresent: true,
|
CreateIfNotPresent: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
GroupVersionKind: &schema.GroupVersionKind{Group: "networking.k8s.io", Kind: "NetworkPolicy"},
|
GroupVersionKind: &schema.GroupVersionKind{Group: "networking.k8s.io", Kind: "NetworkPolicy"},
|
||||||
|
|||||||
Reference in New Issue
Block a user