Skip to content

Commit

Permalink
Merge pull request #5699 from stormqueen1990/chore/deprecation-common…
Browse files Browse the repository at this point in the history
…-labels

chore: add deprecation comment to commonLabels
  • Loading branch information
k8s-ci-robot authored May 27, 2024
2 parents 88c89f4 + 77354d7 commit cb432b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/types/kustomization.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ type Kustomization struct {
// Namespace to add to all objects.
Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"`

// Deprecated: Use the Labels field instead, which provides a superset of the functionality of CommonLabels.
// CommonLabels to add to all objects and selectors.
CommonLabels map[string]string `json:"commonLabels,omitempty" yaml:"commonLabels,omitempty"`

Expand Down

0 comments on commit cb432b0

Please sign in to comment.