feat: apply sealed installation plans without interactive setup

This commit is contained in:
Codex
2026-10-06 15:45:18 +02:00
parent c3c9f509bf
commit 8b9a086fd6
31 changed files with 1542 additions and 45 deletions
@@ -452,6 +452,9 @@ func (i Installation) ComposeFiles() []string {
}
files = append(files, i.Overrides...)
files = append(files, i.ModelProjectionComposePath())
if info, err := os.Lstat(i.LocalIdentityOverridePath()); err == nil && info.Mode().IsRegular() {
files = append(files, i.LocalIdentityOverridePath())
}
if i.HasRuntimeAuthProjection() {
files = append(files, i.runtimeAuthProjectionComposePath())
}
@@ -501,6 +504,11 @@ func (i Installation) CurrentImageOverridePath() string {
return filepath.Join(i.ControlDirectory(), "current-image.yaml")
}
// LocalIdentityOverridePath is generated only by document-first standalone apply.
func (i Installation) LocalIdentityOverridePath() string {
return filepath.Join(i.ControlDirectory(), "compose.local-identity.yaml")
}
func (i Installation) UpdateStatePath() string {
return filepath.Join(i.ControlDirectory(), "update-state.json")
}