fix/grafana-operator #132
@ -197,11 +197,6 @@ impl K8sPrometheusCRDAlertingInterpret {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async fn ensure_grafana_operator(&self) -> Result<Outcome, InterpretError> {
|
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()));
|
|
||||||
}
|
|
||||||
|
|
||||||
let _ = Command::new("helm")
|
let _ = Command::new("helm")
|
||||||
.args([
|
.args([
|
||||||
"repo",
|
"repo",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user