diff --git a/api/konfig/builtinpluginconsts/commonlabels.go b/api/konfig/builtinpluginconsts/commonlabels.go index 300a75289..7775a544f 100644 --- a/api/konfig/builtinpluginconsts/commonlabels.go +++ b/api/konfig/builtinpluginconsts/commonlabels.go @@ -51,6 +51,11 @@ commonLabels: group: apps kind: Deployment +- path: spec/template/spec/topologySpreadConstraints/labelSelector/matchLabels + create: false + group: apps + kind: Deployment + - path: spec/selector/matchLabels create: true kind: ReplicaSet @@ -97,6 +102,11 @@ commonLabels: group: apps kind: StatefulSet +- path: spec/template/spec/topologySpreadConstraints/labelSelector/matchLabels + create: false + group: apps + kind: StatefulSet + - path: spec/volumeClaimTemplates[]/metadata/labels create: true group: apps