refactor(config): use source snapshots for config mutations

This commit is contained in:
Peter Steinberger
2026-03-30 01:02:10 +01:00
parent f9bf76067f
commit 47216702f4
23 changed files with 233 additions and 85 deletions

View File

@@ -295,6 +295,7 @@ async function prepareGatewayStartupConfig(params: {
authOverride: params.authOverride,
tailscaleOverride: params.tailscaleOverride,
persist: true,
baseHash: params.configSnapshot.hash,
});
const runtimeStartupConfig = applyGatewayAuthOverridesForStartupPreflight(authBootstrap.cfg, {
auth: params.authOverride,