mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-09-15 12:18:57 +00:00
Merge pull request #5699 from stormqueen1990/chore/deprecation-common-labels
chore: add deprecation comment to commonLabels
This commit is contained in:
@@ -55,6 +55,7 @@ type Kustomization struct {
|
|||||||
// Namespace to add to all objects.
|
// Namespace to add to all objects.
|
||||||
Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"`
|
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 to add to all objects and selectors.
|
||||||
CommonLabels map[string]string `json:"commonLabels,omitempty" yaml:"commonLabels,omitempty"`
|
CommonLabels map[string]string `json:"commonLabels,omitempty" yaml:"commonLabels,omitempty"`
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user