kustomize
kustomize copied to clipboard
kustomize example in README uses deprecated commonLabels
What happened?
When running the example in the README:
# Warning: 'commonLabels' is deprecated. Please use 'labels' instead. Run 'kustomize edit fix' to update your Kustomization automatically.
Kustomize version
v5.4.1
This issue is currently awaiting triage.
SIG CLI takes a lead on issue triage for this repo, but any Kubernetes member can accept issues by applying the triage/accepted label.
The triage/accepted label can be added by org members by writing /triage accepted in a comment.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
@paololazzari Thanks for brining up this issue. The docs do seem to be outdated: https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/.
Would you be open to submitting a PR to fix this in the docs website. Any help from the community is appreciated. Thanks!
cc: @ncapps
Maybe i can help with this issue.
The docs do seem to be outdated: https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/.
@varshaprasad96 The actual version of Kustomize inside kubectl is old i don't think we should update this until the version is bumped up.
Instead i think we should update this site, https://kubectl.docs.kubernetes.io/references/kustomize/
Also the examples.