Merge pull request #5699 from stormqueen1990/chore/deprecation-common-labels

chore: add deprecation comment to commonLabels
This commit is contained in:
Kubernetes Prow Robot
2024-05-27 15:15:20 -07:00
committed by GitHub

View File

@@ -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"`