mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 02:43:36 +00:00
cephfs: subvolumes honor --setmetadata
option
`--setmetadata` is false by default, honoring it will keep the metadata disabled by default Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
cf97e377fa
commit
14d6211d6d
@ -136,6 +136,7 @@ func (fs *Driver) Run(conf *util.Config) {
|
||||
if conf.IsControllerServer {
|
||||
fs.cs = NewControllerServer(fs.cd)
|
||||
fs.cs.ClusterName = conf.ClusterName
|
||||
fs.cs.SetMetadata = conf.SetMetadata
|
||||
}
|
||||
if !conf.IsControllerServer && !conf.IsNodeServer {
|
||||
topology, err = util.GetTopologyFromDomainLabels(conf.DomainLabels, conf.NodeID, conf.DriverName)
|
||||
|
Reference in New Issue
Block a user