fix:deploys namespaced grafana operator in all cases
Some checks failed
Run Check Script / check (pull_request) Failing after -4s
Some checks failed
Run Check Script / check (pull_request) Failing after -4s
This commit is contained in:
parent
85d7baac6c
commit
95c2e1dd72
@ -197,11 +197,12 @@ 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 {
|
// if self.crd_exists("grafanas.grafana.integreatly.org").await {
|
||||||
debug!("grafana CRDs already exist — skipping install.");
|
// debug!("grafana CRDs already exist — skipping install.");
|
||||||
return Ok(Outcome::success("Grafana CRDs already exist".to_string()));
|
// 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")
|
let _ = Command::new("helm")
|
||||||
.args([
|
.args([
|
||||||
"repo",
|
"repo",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user