diff --git a/Cargo.lock b/Cargo.lock index 66d3cd8..8cdfe97 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1842,8 +1842,13 @@ dependencies = [ name = "example-try-rust-webapp" version = "0.1.0" dependencies = [ + "base64 0.22.1", + "env_logger", "harmony", "harmony_cli", + "harmony_macros", + "harmony_types", + "log", "tokio", "url", ] diff --git a/examples/try_rust_webapp/src/main.rs b/examples/try_rust_webapp/src/main.rs index a9ce8e0..6e1ab63 100644 --- a/examples/try_rust_webapp/src/main.rs +++ b/examples/try_rust_webapp/src/main.rs @@ -11,7 +11,6 @@ use harmony::{ }, topology::K8sAnywhereTopology, }; - use harmony_types::net::Url; #[tokio::main] diff --git a/harmony/src/modules/prometheus/k8s_prometheus_alerting_score.rs b/harmony/src/modules/prometheus/k8s_prometheus_alerting_score.rs index 1c0fb9d..24ca918 100644 --- a/harmony/src/modules/prometheus/k8s_prometheus_alerting_score.rs +++ b/harmony/src/modules/prometheus/k8s_prometheus_alerting_score.rs @@ -197,12 +197,6 @@ impl K8sPrometheusCRDAlertingInterpret { } async fn ensure_grafana_operator(&self) -> Result { - // if self.crd_exists("grafanas.grafana.integreatly.org").await { - // debug!("grafana CRDs already exist — skipping install."); - // return Ok(Outcome::success("Grafana CRDs already exist".to_string())); - // } - //may not need to check this since the grafana operator is namespaceScope=true -> it - //will deploy with rolebindings rather than cluster role bindings let _ = Command::new("helm") .args([ "repo",