Skip to content

Commit

Permalink
fix: properly label StatefulSet volumeClaimTemplates
Browse files Browse the repository at this point in the history
  • Loading branch information
UrosSimovic committed Nov 22, 2024
1 parent bb7a280 commit d4a6a27
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions api/internal/konfig/builtinpluginconsts/commonlabels.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions api/internal/konfig/builtinpluginconsts/metadatalabels.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d4a6a27

Please sign in to comment.