feat: apply sealed installation plans without interactive setup
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user