All checks were successful
Run Check Script / check (pull_request) Successful in 1m0s
19 lines
524 B
Rust
19 lines
524 B
Rust
use harmony::{
|
|
inventory::Inventory,
|
|
modules::storage::ceph::ceph_validate_health_score::CephVerifyClusterHealth,
|
|
topology::K8sAnywhereTopology,
|
|
};
|
|
|
|
#[tokio::main]
|
|
async fn main() {
|
|
let ceph_health_score = CephVerifyClusterHealth {
|
|
rook_ceph_namespace: "rook-ceph".to_string(),
|
|
};
|
|
|
|
let topology = K8sAnywhereTopology::from_env();
|
|
let inventory = Inventory::autoload();
|
|
harmony_cli::run(inventory, topology, vec![Box::new(ceph_health_score)], None)
|
|
.await
|
|
.unwrap();
|
|
}
|