Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [CLI] "kyverno version" does not report Time and Git Commit ID #10125

Open
2 tasks done
johanneskastl opened this issue Apr 27, 2024 · 2 comments
Open
2 tasks done
Assignees
Labels
bug Something isn't working good first issue Good for newcomers type:cli cli releated issue

Comments

@johanneskastl
Copy link

Kyverno CLI Version

1.12.0

Description

Running kyverno version gives the proper version, but both Time and Git Commit ID are missing, only --- is shown.

Thus might be related to build time and commit being derived from Go build information, that might get stripped or removed during the build process.

Steps to reproduce

  1. Download latest CLI package and unpack
wget https://github.com/kyverno/kyverno/releases/download/v1.12.0/kyverno-cli_v1.12.0_linux_x86_64.tar.gz
tar xvf kyverno-cli_v1.12.0_linux_x86_64.tar.gz
chmod +x kyverno
  1. Run ./kyverno version
$ /kyverno version
Version: 1.12.0
Time: ---
Git commit ID: ---

Expected behavior

Time and Git Commit ID should be shown.

Screenshots

No response

Kyverno logs

No response

Slack discussion

No response

Troubleshooting

  • I have read and followed the troubleshooting guide.
  • I have searched other issues in this repository and mine is not recorded.
@johanneskastl johanneskastl added bug Something isn't working triage Default label assigned to all new issues indicating label curation is needed to fully organize. type:cli cli releated issue labels Apr 27, 2024
@chipzoller chipzoller removed the triage Default label assigned to all new issues indicating label curation is needed to fully organize. label Apr 30, 2024
@realshuting realshuting added the good first issue Good for newcomers label May 1, 2024
@120EE0980
Copy link

/assign

@DeeptanshuDas
Copy link

/assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers type:cli cli releated issue
Projects
Status: No status
Development

No branches or pull requests

5 participants