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 |
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. https://github.com/csi-addons/kubernetes-csi-addons/actions/runs/5385350011/jobs/9774541855?pr=385 and after amending your commit, check if that change still exists with |
|
@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 <saranyareddipalle@yahoo.in>
✅ 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 <ndevos@ibm.com>
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 <ndevos@ibm.com>
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