chore: modified build config to be able to pass namespace to the config

This commit is contained in:
2025-05-15 15:19:40 -04:00
parent b4c6848433
commit eb8a8a2e04
3 changed files with 21 additions and 26 deletions

View File

@@ -43,8 +43,8 @@ async fn main() {
.await
.unwrap();
let monitoring_stack_score =
MonitoringAlertingStackScore::new_with_ns(&lamp_stack.config.namespace);
let mut monitoring_stack_score = MonitoringAlertingStackScore::new();
monitoring_stack_score.namespace = Some(lamp_stack.config.namespace.clone());
maestro.register_all(vec![Box::new(lamp_stack), Box::new(monitoring_stack_score)]);
// Here we bootstrap the CLI, this gives some nice features if you need them