Skip to content

Model Imogen as a shared Olares service#1

Merged
progress44 merged 1 commit into
masterfrom
codex/olares-shared-instance
May 21, 2026
Merged

Model Imogen as a shared Olares service#1
progress44 merged 1 commit into
masterfrom
codex/olares-shared-instance

Conversation

@progress44
Copy link
Copy Markdown
Owner

Summary

  • Convert Imogen/Image Generation API to the Olares shared-app model.
  • Add a hidden internal shared entrance for app-to-app API calls.
  • Preserve a normal user-space API endpoint through a lightweight proxy subchart.
  • Split the package into shared GPU backend and per-user proxy subcharts.

Verification

  • git diff --check HEAD^ HEAD
  • Verified expected shared-app manifest fields and proxy/server chart files are present
  • python3 -m py_compile main.py app/*.py
  • Agent validation: Ruby YAML parse for chart values and admin/member manifest render paths; kubectl client dry-run for rendered backend and proxy resources

Not tested

  • helm lint/template/package: helm is not installed locally
  • live Olares install

The Olares package now follows the shared-app pattern used by official API and ComfyUI examples: one admin-owned backend chart is marked shared, while each member gets a small user-space proxy entrance for the normal Olares endpoint. The manifest exposes a hidden sharedEntrance for app-to-app calls and keeps the user-facing API route for browser or user-scoped access.

Constraint: Olares shared applications require the cluster backend and user access surface to be modeled separately.
Constraint: Helm is not installed in this environment, so validation used Ruby YAML parsing and kubectl client dry-runs instead of helm template/package.
Rejected: Keep the backend in the root chart | that would continue installing the GPU API per user instead of once as a shared service.
Confidence: high
Scope-risk: narrow
Directive: Keep imagegenapiserver as the only chart that deploys the GPU backend; user installs should only proxy to imagegenapiserver-shared.
Tested: Ruby YAML parsing for chart values and admin/member OlaresManifest render paths; kubectl create --dry-run=client for rendered user proxy and shared backend resources; git diff --check.
Not-tested: helm lint/template/package because helm is unavailable locally; live Olares install.
@progress44 progress44 merged commit 399f0fe into master May 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant