Skip to content

Commit cb432b0

Browse files
authored
Merge pull request #5699 from stormqueen1990/chore/deprecation-common-labels
chore: add deprecation comment to commonLabels
2 parents 88c89f4 + 77354d7 commit cb432b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/types/kustomization.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ type Kustomization struct {
5555
// Namespace to add to all objects.
5656
Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"`
5757

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

0 commit comments

Comments
 (0)