rajatjindal / kubectl-whoami

This plugin gets the subject name using the effective kubeconfig
Apache License 2.0
120 stars 14 forks source link

--version is "unknown" #8

Closed olivierlemasle closed 3 years ago

olivierlemasle commented 3 years ago

With kubectl-whoami installed with Krew or downloaded from GitHub releases:

$ kubectl whoami --version
unknown

It seems that the version was passed to go build when using build.sh, but it is not set with Goreleaser.

rajatjindal commented 3 years ago

good catch. do you know how to fix that? i will investigate, thanks a lot.