Compare commits

..

No commits in common. "ab34b06aec5c6ea527e83f5692d25f2b6d717df4" and "d13a23c00114fc21ed66bdb2fa040b8d0babde06" have entirely different histories.

3 changed files with 7 additions and 5 deletions

5
Cargo.lock generated
View File

@ -1842,13 +1842,8 @@ 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",
]

View File

@ -11,6 +11,7 @@ use harmony::{
},
topology::K8sAnywhereTopology,
};
use harmony_types::net::Url;
#[tokio::main]

View File

@ -197,6 +197,12 @@ impl K8sPrometheusCRDAlertingInterpret {
}
async fn ensure_grafana_operator(&self) -> Result<Outcome, InterpretError> {
// 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",