mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
Add Version flag to cephcsi
This will be helpful if someone wants to check the cephcsi version output ``` docker run quay.io/cephcsi/cephcsi:v1.2.1 --version Cephcsi Version: v1.2.1 Git Commit: 4b871366327d63e27fc1abfb699f0faaf0fc16b9 GoVersion: go1.12.5 Compiler: gc Platform: linux/amd64 ``` Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
committed by
mergify[bot]
parent
8e117db80d
commit
dfc3562e29
@ -97,6 +97,7 @@ type Config struct {
|
||||
|
||||
IsControllerServer bool // if set to true start provisoner server
|
||||
IsNodeServer bool // if set to true start node server
|
||||
Version bool // cephcsi version
|
||||
|
||||
// rbd related flag
|
||||
Containerized bool // whether run as containerized
|
||||
|
Reference in New Issue
Block a user