Commit graph

11 commits

Author SHA1 Message Date
sync-test
37158ede42 fix(k8s): use forgejo-regcred for ai-assistant deployment
All checks were successful
sync-to-forgejo / sync (push) Successful in 17s
2026-07-06 03:52:35 +05:30
Ashwin Kumar Sivakumar
38fd72023f Fix cross-namespace DNS failure calling users service from ai-assistant
NXTGAUGE_USERS_URL used the short service name "nxtgauge-rust-users",
which only resolves within the same namespace. The prod overlay places
ai-assistant in nxtgauge-ai while the users service is in nxtgauge, so
every help-center search and ticket-creation call failed with a DNS
resolution error (surfaced as a 502 to the client). Use the full
in-cluster FQDN instead.
2026-07-02 22:49:44 +05:30
Ashwin Kumar Sivakumar
a2e3260bb1 Switch ai-assistant to LiteLLM provider with task-specific models
Was defaulting to plain Ollama with gemma3:270m for every request -
no LLM_PROVIDER or LITELLM_* env vars were set. LiteLLM is already
deployed with purpose-built model aliases per task
(apps/litellm/base/configmap.yaml); this wires ai-assistant to use it.
2026-07-02 18:48:52 +05:30
Ashwin Kumar Sivakumar
7889ed30f5 Fix cross-namespace secretKeyRef in ai-assistant deployment
JWT_SECRET can't reference nxtgauge-backend-rust-secrets (namespace
nxtgauge) from the ai-assistant pod, which the prod overlay places in
nxtgauge-ai — Kubernetes secretKeyRef must be same-namespace. Duplicate
the value into nxtgauge-ai-assistant-secrets instead.
2026-07-02 18:00:10 +05:30
Ashwin Kumar Sivakumar
b4f371d415 Encrypt all secrets with SOPS, add Flux decryption support, rotate JWT_SECRET/AI_SERVICE_KEY
- Add .sops.yaml (age) and encrypt every plaintext Secret manifest in apps/
- Commit the Flux GitRepository/Kustomization (previously only applied manually)
  with a decryption stanza referencing the sops-age key (created out-of-band,
  not committed)
- Rotate JWT_SECRET (previously exposed in plaintext) and set a real
  AI_SERVICE_KEY (was an empty placeholder), shared between
  nxtgauge-backend-rust and nxtgauge-ai-assistant
- Wire JWT_SECRET into the ai-assistant deployment (was missing entirely,
  causing every authenticated request to fail)
- Redact the leaked LiteLLM production master key from README/OPENCODE_CONNECT
  docs; move the litellm prod overlay off a plaintext secretGenerator onto an
  encrypted patch
2026-07-02 17:56:28 +05:30
Ashwin Kumar Sivakumar
af4b237255 chore(gitops): align app pulls with ghcr deployments 2026-06-14 22:49:25 +05:30
Ashwin Kumar Sivakumar
f5d1041f14 fix: add openobserve-alerts to cluster kustomization and disable Telegram alerts 2026-06-12 04:26:32 +05:30
Rimuru (Hermes Agent)
3d26e83f38 fix: update Ollama URL to K8s service 2026-06-07 17:31:34 +05:30
Ashwin Kumar Sivakumar
6e7585f0e4 feat: switch AI assistant to gemma3:270m model 2026-05-29 20:11:03 +05:30
Ashwin Kumar Sivakumar
3fde5afb9a chore: add ai-assistant secret placeholder 2026-04-17 21:44:32 +05:30
Tracewebstudio Dev
f50a147e17 feat: add nxtgauge-ai-assistant to gitops and update users to 430711a
- Add nxtgauge-ai-assistant deployment, service, and kustomization overlays
- Update users service to commit 430711a with AI endpoints
- Set NXTGAUGE_USERS_URL and AI_SERVICE_KEY env vars
2026-04-15 18:24:39 +02:00