From 0a324184adb92bb3b86543f9e952c9724eaa1eb6 Mon Sep 17 00:00:00 2001 From: Willem Date: Mon, 8 Sep 2025 13:59:12 +0000 Subject: [PATCH] fix/grafana-operator (#132) * deploy namespaced grafana operator in all cases Co-authored-by: Ian Letourneau Reviewed-on: https://git.nationtech.io/NationTech/harmony/pulls/132 Co-authored-by: Willem Co-committed-by: Willem --- .../src/modules/prometheus/k8s_prometheus_alerting_score.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/harmony/src/modules/prometheus/k8s_prometheus_alerting_score.rs b/harmony/src/modules/prometheus/k8s_prometheus_alerting_score.rs index 30bc8bd..24ca918 100644 --- a/harmony/src/modules/prometheus/k8s_prometheus_alerting_score.rs +++ b/harmony/src/modules/prometheus/k8s_prometheus_alerting_score.rs @@ -197,11 +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())); - } - let _ = Command::new("helm") .args([ "repo",