Skip to content

Helm Chart for k8s deployment#63

Merged
arjun-zosma merged 4 commits intozosmaai:mainfrom
CelestialCreator:main
Apr 1, 2026
Merged

Helm Chart for k8s deployment#63
arjun-zosma merged 4 commits intozosmaai:mainfrom
CelestialCreator:main

Conversation

@CelestialCreator
Copy link
Copy Markdown
Contributor

Its an work in progress currently its verybasic we will manage more dependencies once we integrated valkey and rabbitmq

Adds a standalone Helm chart with gateway and web deployments,
HPA for both, and three ingress options: Traefik IngressRoute,
Emissary v2 Mapping (with optional gRPC), and standard K8s Ingress.
External-only infra deps (PostgreSQL, Valkey, RabbitMQ) — no Bitnami subcharts.
…, and SSE

Add 36 integration tests covering all gateway HTTP endpoints using
Hono's app.request() — no server required, fast and CI-friendly.

Test suites:
- health: smoke test
- sessions: CRUD + message send/receive (10 tests)
- auth-middleware: API key, session cookie, RBAC enforcement (8 tests)
- agents: agent config list/get/404 (3 tests)
- api-keys: create/list/delete + validation (4 tests)
- kb-sync: write/delete/pull + input validation (7 tests)
- sse: stream content-type, event delivery, 404 (3 tests)

Includes shared test helpers (StubSessionManager, mock factories)
and adds "test" script to gateway package.json.

Part of: zosmaai#53
- Sort imports alphabetically (biome organizeImports)
- Replace `type Any = any` with `Json` type from helpers (biome noExplicitAny)
- Fix formatting: inline short expressions, remove extra blank lines
@arjun-zosma
Copy link
Copy Markdown
Member

arjun-zosma commented Apr 1, 2026

Love this ❤️ @CelestialCreator. Shall we merge this for now or should we wait until all work is completed.

Can add this module as WIP in the readme or somewhere I think In another PR.

@CelestialCreator
Copy link
Copy Markdown
Contributor Author

Let's merge this! Both the Helm chart and gateway tests are functional and CI is green.

We can mark the Helm chart as WIP in the README in a follow-up PR — it'll need updates once Valkey and RabbitMQ (#52) are integrated. The gateway tests are solid as-is and cover all current HTTP routes.

Happy to open the README update PR next if you'd like.

@arjun-zosma arjun-zosma merged commit c48d951 into zosmaai:main Apr 1, 2026
4 checks 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.

2 participants