Merge pull request 'feat: Pass configuration when initializing K8sAnywhereTopology' (#57) from feat/configK8sAnywhere into master

Reviewed-on: NationTech/harmony#57
This commit is contained in:
2025-06-10 13:01:50 +00:00
3 changed files with 41 additions and 23 deletions

View File

@@ -38,7 +38,7 @@ async fn main() {
// that automatically adapt to each environment grade.
let mut maestro = Maestro::<K8sAnywhereTopology>::initialize(
Inventory::autoload(),
K8sAnywhereTopology::new(),
K8sAnywhereTopology::from_env(),
)
.await
.unwrap();

View File

@@ -18,7 +18,7 @@ async fn main() {
let mut maestro = Maestro::<K8sAnywhereTopology>::initialize(
Inventory::autoload(),
K8sAnywhereTopology::new(),
K8sAnywhereTopology::from_env(),
)
.await
.unwrap();