diff --git a/cmd/rook/ceph/mgr.go b/cmd/rook/ceph/mgr.go index 9ab42fed6..9c0ec816d 100644 --- a/cmd/rook/ceph/mgr.go +++ b/cmd/rook/ceph/mgr.go @@ -66,6 +66,7 @@ func init() { // Start the mgr daemon sidecar func runMgrSidecar(cmd *cobra.Command, args []string) error { rook.SetLogLevel() + clusterInfo.Context = cmd.Context() context := createContext() clusterInfo.Monitors = mon.ParseMonEndpoints(cfg.monEndpoints)