Skip to content

Commit

Permalink
Merge pull request #3350 from shibataka000/add-topologyspreadconstrai…
Browse files Browse the repository at this point in the history
…nts-to-builtin-common-label-field

Add topologySpreadConstraints to builtin common label field
  • Loading branch information
Shell32-Natsu authored Dec 14, 2020
2 parents 428e25b + a3bf3ba commit 60c8f4c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions api/konfig/builtinpluginconsts/commonlabels.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 60c8f4c

Please sign in to comment.