-
Notifications
You must be signed in to change notification settings - Fork 39
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
Adding version details to sidecar #385
Conversation
Many thanks for you contribution! I think it will be very helpful 👍 |
523319c
to
957a79d
Compare
57407fe
to
c0c88b4
Compare
@Rakshith-R & @yati1998 can you please check and approve |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few small nits
85c93a7
to
adda110
Compare
can someone help me understand why build is failing. |
I think there is spacing issue in the import "time" pkg line. and after amending your commit, check if that change still exists with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small nit, lgtm
@Mergifyio requeue |
✅ The queue state of this pull request has been cleaned. It can be re-embarked automatically |
@Mergifyio requeue |
✅ The queue state of this pull request has been cleaned. It can be re-embarked automatically |
@saranyareddy24 Can you please try logging into mergifyio
|
@Mergifyio rebase |
✅ Branch has been successfully rebased |
@Mergifyio rebase |
Signed-off-by: saranyareddy24 <[email protected]>
✅ Branch has been successfully rebased |
The `Makefile` now contains logic to provide a version (git tag) and the current git commit hash in a `-version` argument to executables. However the container-images did not use `make`, and therefor the executables would not have the version information set. While updating the building of the executables in the container, the names of the executables has been prefixed with `csi-addons-`, so that a listing of running processes on a Kubernetes node does not show `manager` for the CSI-Addons Operator, but `csi-addons-manager`. Updates: csi-addons#385 Signed-off-by: Niels de Vos <[email protected]>
The `Makefile` now contains logic to provide a version (git tag) and the current git commit hash in a `-version` argument to executables. However the container-images did not use `make`, and therefor the executables would not have the version information set. While updating the building of the executables in the container, the names of the executables has been prefixed with `csi-addons-`, so that a listing of running processes on a Kubernetes node does not show `manager` for the CSI-Addons Operator, but `csi-addons-manager`. Updates: #385 Signed-off-by: Niels de Vos <[email protected]>
Fixes #377
Fixes #378
The output will be printed as:
Version: v0.6.0
Git Commit: 43ebc4b
Go Version: go1.19.9
Compiler: gc
Platform: linux/amd64