This commit is contained in:
Ian Letourneau
2025-04-29 15:55:58 -04:00
parent 254f392cb5
commit 2f7c4924c1
7 changed files with 55 additions and 9 deletions

View File

@@ -2,9 +2,10 @@ use harmony::{
data::Version,
inventory::Inventory,
maestro::Maestro,
modules::lamp::{LAMPConfig, LAMPScore},
modules::lamp::{LAMPConfig, LAMPProfile, LAMPScore},
topology::{K8sAnywhereTopology, Url},
};
use std::collections::HashMap;
#[tokio::main]
async fn main() {
@@ -17,6 +18,10 @@ async fn main() {
project_root: "./php".into(),
..Default::default()
},
profiles: HashMap::from([
("dev", LAMPProfile { ssl_enabled: false }),
("prod", LAMPProfile { ssl_enabled: true }),
]),
};
let mut maestro = Maestro::<K8sAnywhereTopology>::initialize(