Skip to content

Commit 306df05

Browse files
author
Marco Napetti
committed
feat: sidecar autostart wiring
1 parent 6a2eb48 commit 306df05

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

  • crates/firma-run/src/runtime

crates/firma-run/src/runtime/mod.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ use std::path::PathBuf;
44
use std::time::Duration;
55

66
use firma_runtime_state::RuntimeLayout;
7+
use firma_secret_provider::IntegrationSpec;
78
use serde::Serialize;
89

910
use crate::backend::{LaunchSpec, PrepareRequest, build_backend};
@@ -209,6 +210,12 @@ pub fn execute_run(args: &RunInput, hooks: &LaunchHooks<'_>) -> Result<i32, RunE
209210
}),
210211
use_http_proxy_sidecar: profile.use_http_proxy_sidecar,
211212
monitor_mode: args.monitor_mode,
213+
http_secret_providers: profile
214+
.secret_providers
215+
.values()
216+
.filter_map(IntegrationSpec::as_http)
217+
.cloned()
218+
.collect(),
212219
..Default::default()
213220
};
214221
// When the user supplies --capability-file, thread the path into the

0 commit comments

Comments
 (0)