Merge pull request #292 from babiel/pdb-matchlabels

Disable creation of PDB matchLabels
This commit is contained in:
Jeff Regan
2018-08-24 09:27:41 -07:00
committed by GitHub

View File

@@ -157,7 +157,7 @@ var defaultLabelsPathConfigs = []PathConfig{
{
GroupVersionKind: &schema.GroupVersionKind{Group: "policy", Kind: "PodDisruptionBudget"},
Path: []string{"spec", "selector", "matchLabels"},
CreateIfNotPresent: true,
CreateIfNotPresent: false,
},
{
GroupVersionKind: &schema.GroupVersionKind{Group: "networking.k8s.io", Kind: "NetworkPolicy"},