mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 02:33:34 +00:00
deprecate containerized flag and remove nsenter
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
committed by
mergify[bot]
parent
69b7c4672f
commit
7002da1a6a
@ -59,7 +59,7 @@ func init() {
|
||||
flag.BoolVar(&conf.IsNodeServer, "nodeserver", false, "start cephcsi node server")
|
||||
|
||||
// rbd related flags
|
||||
flag.BoolVar(&conf.Containerized, "containerized", true, "whether run as containerized")
|
||||
flag.BoolVar(&conf.Containerized, "containerized", false, "whether run as containerized")
|
||||
|
||||
// cephfs related flags
|
||||
flag.StringVar(&conf.MountCacheDir, "mountcachedir", "", "mount info cache save dir")
|
||||
@ -159,6 +159,9 @@ func main() {
|
||||
switch conf.Vtype {
|
||||
case rbdType:
|
||||
driver := rbd.NewDriver()
|
||||
if conf.Containerized {
|
||||
klog.Warning("containerized flag is deprecated and will be removed")
|
||||
}
|
||||
driver.Run(&conf, cp)
|
||||
|
||||
case cephfsType:
|
||||
|
Reference in New Issue
Block a user