Skip to content

Use the cargo crate module tree for importing the DiskPool type in supportability and plugin #1962

Description

@niladrih

The supportability and the plugin crates on the mayastor-extensions repo use the DiskPool type from the k8s-operators crate (from mayastor-control-plane) by include!()-ing it into a code file. This is not typically how we do things for other dependencies. We should use the Cargo crate module tree for this.

This was likely done previously so that the k8s-operators crate could use a different k8s version of Arnavion/k8s-openapi than the supportability. Presently, cargo dependencies have been simplified using the cargo workspace option. It should be easier to move the DiskPool deps to the Cargo.toml.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions