harmony/examples/validate_ceph_cluster_health/src/main.rs
Willem a9fe4ab267
All checks were successful
Run Check Script / check (pull_request) Successful in 1m0s
fix: cargo fmt
2025-08-25 13:33:36 -04:00

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();
}