kubectl: Faulty Kustomize version on kubectl version output

What happened:

Non-existent Kustomize version is shown when kubectl version is used

/ # kubectl version
Client Version: v1.28.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3

What you expected to happen:

An existent Kustomize version to be displayed

How to reproduce it (as minimally and precisely as possible):

Install kubectl v1.28.2 run kubectl version

Anything else we need to know?: running on alpine

Environment:

  • Kubernetes client and server versions (use kubectl version): v1.28.2, v1.25 respectively
  • OS (e.g: cat /etc/os-release): alpine linux

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 24 (11 by maintainers)

Most upvoted comments

Also when kustomization has managedByLabel (in buildMetadata) it writes label app.kubernetes.io/managed-by: kustomize-(devel) which is invalid for k8s resources.

(and that issue should possibly be filed against the kustomize repo, I’m not sure how kustomize derives the value for that label)