Value of the "app.kubernetes.io/managed-by" field no longer mentions actual version #5642
Labels
kind/bug
Categorizes issue or PR as related to a bug.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
What happened?
For kustomizations that opt to include the "app.kubernetes.io/managed-by" label by way of the following stanza,
kustomize does inject the label, but its value no longer mentions the actual kustomize version name. Instead, the label's value winds up "kustomize-unknown".
This appears to be a problem with how we capture the version name and stamp it into the program for use with this lable.
What did you expect to happen?
The resulting manifests should include a member in the "metadata.labels" field named "app.kubernetes.io/managed-by" with a value such as "kustomize-v5.4.0".
How can we reproduce it (as minimally and precisely as possible)?
kustomization.yaml file
Expected output
Actual output
Kustomize version
5.4.0
Operating system
MacOS
The text was updated successfully, but these errors were encountered: