mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 18:43:34 +00:00
deprecate containerized flag and remove nsenter
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit d2fd76a9a5
)
This commit is contained in:
committed by
Humble Devassy Chirammal
parent
64fd06825a
commit
74852cf230
@ -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