fix: validate maintenance profiles and canonical local auth origins
This commit is contained in:
@@ -28,13 +28,13 @@ func CheckCompose(ctx context.Context, runner Runner, installation config.Instal
|
||||
}
|
||||
args = append(args, "-f", path)
|
||||
}
|
||||
args = append(args, "config", "--format", "json")
|
||||
args = append(args, "--profile", "catalog-maintenance", "--profile", "workspace-maintenance", "config", "--format", "json")
|
||||
return checkResolvedCompose(ctx, runner, args, m, platform)
|
||||
}
|
||||
|
||||
// CheckInstalledCompose includes generated projections and any durable image override.
|
||||
func CheckInstalledCompose(ctx context.Context, runner Runner, installation config.Installation, m Manifest, platform string) Report {
|
||||
return checkResolvedCompose(ctx, runner, installation.ComposeArgs("config", "--format", "json"), m, platform)
|
||||
return checkResolvedCompose(ctx, runner, installation.ComposeArgs("--profile", "catalog-maintenance", "--profile", "workspace-maintenance", "config", "--format", "json"), m, platform)
|
||||
}
|
||||
|
||||
func checkResolvedCompose(ctx context.Context, runner Runner, args []string, m Manifest, platform string) Report {
|
||||
|
||||
Reference in New Issue
Block a user