deprecate containerized flag and remove nsenter

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit d2fd76a9a5)
This commit is contained in:
Madhu Rajanna
2019-09-20 16:07:53 +05:30
committed by Humble Devassy Chirammal
parent 64fd06825a
commit 74852cf230
2 changed files with 7 additions and 14 deletions

View File

@ -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: