diff --git a/api/internal/konfig/builtinpluginconsts/commonlabels.go b/api/internal/konfig/builtinpluginconsts/commonlabels.go index b2a78f5681..4a6f3a32b3 100644 --- a/api/internal/konfig/builtinpluginconsts/commonlabels.go +++ b/api/internal/konfig/builtinpluginconsts/commonlabels.go @@ -56,6 +56,11 @@ commonLabels: group: apps kind: StatefulSet +- path: spec/volumeClaimTemplates[]/metadata/labels + create: true + group: apps + kind: StatefulSet + - path: spec/template/spec/affinity/podAffinity/preferredDuringSchedulingIgnoredDuringExecution/podAffinityTerm/labelSelector/matchLabels create: false group: apps diff --git a/api/internal/konfig/builtinpluginconsts/metadatalabels.go b/api/internal/konfig/builtinpluginconsts/metadatalabels.go index d070cca4b8..d9d6eb0e12 100644 --- a/api/internal/konfig/builtinpluginconsts/metadatalabels.go +++ b/api/internal/konfig/builtinpluginconsts/metadatalabels.go @@ -29,11 +29,6 @@ const metadataLabelsFieldSpecs = ` group: apps kind: StatefulSet -- path: spec/volumeClaimTemplates[]/metadata/labels - create: true - group: apps - kind: StatefulSet - - path: spec/template/metadata/labels create: true group: batch