Skip to content

Commit

Permalink
add PodDisruptionBudget labels
Browse files Browse the repository at this point in the history
  • Loading branch information
sethpollack committed Jun 6, 2018
1 parent ea2d2c9 commit 69d816d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/transformers/labelsandannotationsconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 69d816d

Please sign in to comment.