Commit graph

51 commits

Author SHA1 Message Date
sync-test
d277ddfa33 chore(gitops): delete orphaned leads manifests
All checks were successful
sync-to-forgejo / sync (push) Successful in 5s
leads-deployment.yaml and leads-service.yaml were already removed from
kustomization.yaml's resources list in the prior commit (e51f199) —
these were just the leftover, unreferenced files themselves.
2026-07-21 05:34:01 +05:30
sync-test
e51f199d07 chore(gitops): remove leads service — decommissioned in nxtgauge-backend-rust
All checks were successful
sync-to-forgejo / sync (push) Successful in 9s
Corresponding backend-rust commit c570d7d removed apps/leads entirely
(dead microservice, never reachable by the frontend). Removing the
matching Deployment/Service resources, the gateway's LEADS_SERVICE_URL
env var, and the stale release-state/patch entries so kustomize stops
tracking an image nothing builds anymore.

NOTE: leads-deployment.yaml and leads-service.yaml themselves are now
unreferenced (removed from kustomization.yaml's resources list) but
still present in base/ — file deletion was blocked by a permission
classifier in this session; safe to remove whenever convenient since
kustomize no longer includes them in the build.
2026-07-21 04:44:56 +05:30
Ashwin Kumar Sivakumar
5ab9878077 Remove dead registry.nxtgauge.com imagePullSecret reference from default ServiceAccount 2026-07-02 19:19:26 +05:30
Ashwin Kumar Sivakumar
6c77b8777e Add PayU merchant key and salt to backend-rust secrets
Wires the PayU credentials for the classic hosted-checkout hash flow
(PAYU_MERCHANT_KEY, PAYU_SALT), consumed by the payments service's
resolve_payu_config fallback and the admin payment-gateway config API.
2026-07-02 18:30:29 +05:30
Ashwin Kumar Sivakumar
3418b23d35 Rotate Postgres (postgres role) and Redis passwords
Old password was reused across the postgres superuser, Redis, and
Forgejo's separate nxtgauge DB role. Rotated only the postgres role
and Redis (Forgejo's nxtgauge role password is untouched and still
valid, verified against the live DB).
2026-07-02 18:15: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
30ed1833c7 Switch nxtgauge deploys to Forgejo registry 2026-06-17 03:28:47 +05:30
Ashwin Kumar Sivakumar
fce1da5b3f chore: remove forgejo and registry dependencies 2026-06-15 01:52:43 +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
cbc7fb42e6 fix: restore all services after registry wipe
- Fix PostgreSQL endpoints (now auto-creating correctly)
- Fix Forgejo DB connection
- Update retention to keep 10 SHA tags (was 2, too aggressive)
- Update all deployments to use available tags
- Add missing base images to registry (alpine, node, rust, python)
- Protect base images from retention deletion
2026-06-13 00:25:51 +05:30
Ashwin Kumar Sivakumar
5755e8fbcb fix: use stable SHA tag instead of high-performance-latest 2026-06-12 03:53:25 +05:30
Ashwin Kumar Sivakumar
c48166401a Add Backblaze B2 credentials to backend secrets 2026-06-12 03:33:46 +05:30
Ashwin Kumar Sivakumar
c4a7e1e330 chore: remove argocd and standardize on flux 2026-06-11 17:17:42 +05:30
Ashwin Kumar Sivakumar
4034c413c6 fix(config): add BEECEPTOR_URL for payments service 2026-06-11 01:17:15 +05:30
Ashwin Kumar Sivakumar
37a589fa87 fix(backend): add PORT env to all rust deployments (was crashing on boot)
16 of 20 rust services had no PORT env var set; their main.rs calls
std::env::var('PORT').expect('PORT must be a valid u16') which panicked
on startup. This commit adds env.PORT matching the existing containerPort
for each service. Service ports: gateway=9100 users=9101 companies=9102
jobs=9103 job_seekers=9104 customers=9105 employees=9106 photographers=9107
tutors=9108 makeup_artists=9109 developers=9110 video_editors=9111
graphic_designers=9112 social_media_managers=9113 fitness_trainers=9114
catering_services=9115 payments=9116 ugc_content_creators=9117 leads=9118
2026-06-11 01:17:15 +05:30
Rimuru (Hermes Agent)
3119172f96 fix: add imagePullSecrets and pin all rust services to working e6d85ffc tag 2026-06-08 16:48:06 +05:30
Rimuru (Hermes Agent)
8ffeca7458 fix: add imagePullSecrets regcred to users deployment pod template 2026-06-08 16:38:57 +05:30
Rimuru (Hermes Agent)
f6229741fb fix: update ingress from test121 to test111 2026-06-07 15:29:29 +05:30
Ashwin Kumar Sivakumar
2043ef4ac4 fix: add TLS for admin/api ingresses 2026-04-18 01:00:43 +05:30
Ashwin Kumar Sivakumar
1afae405f4 fix: restore registry pull secret for nxtgauge pods 2026-04-17 21:32:40 +05:30
Tracewebstudio Dev
8ce4a6062e Remove k8s-migration-job from kustomization 2026-04-17 14:09:47 +02:00
Tracewebstudio Dev
f764192256 Remove database migration jobs 2026-04-17 14:08:48 +02:00
Tracewebstudio Dev
d25605178d Revert "gitops: fix migrate job hook and track migrate image"
This reverts commit 0c92767030.
2026-04-17 13:57:48 +02:00
Ashwin Kumar Sivakumar
1b4ef92083 fix: run db migrations as Argo PreSync hook + add openobserve collector/alerts 2026-04-17 17:10:37 +05:30
Tracewebstudio Dev
0c92767030 gitops: fix migrate job hook and track migrate image 2026-04-17 13:24:35 +02:00
Tracewebstudio Dev
a7a9d79e5c fix: update db-migrate image from ghcr.io to registry.nxtgauge.com
- Change ghcr.io/traceworks2023/nxtgauge-db-migrate to registry.nxtgauge.com/nxtgauge-db-migrate
- Ensure all images in gitops reference registry.nxtgauge.com
2026-04-16 12:06:56 +02:00
Ashwin Kumar Sivakumar
9ddc57c2e2 feat(ollama): add internal Ollama service with gemma3:270m in nxtgauge-ai namespace
- Add namespace, PVC, deployment, service, and kustomization for Ollama
- ClusterIP only (internal), no ingress
- 10Gi PVC mounted at /root/.ollama
- Resource limits: 700Mi-1500Mi memory, 500m-1000m CPU
- Add ArgoCD Application CR for ollama
- Update backend configmap with OLLAMA_BASE_URL and OLLAMA_CHAT_MODEL
2026-04-15 23:21:05 +05:30
Ashwin Kumar Sivakumar
16aaaa7f45 fix(rust): redis auth + users startup probe 2026-04-15 22:32:52 +05:30
Tracewebstudio Dev
eebcec1465 fix: resolve merge conflict in kustomization.yaml 2026-04-15 13:50:45 +02:00
Ashwin Kumar Sivakumar
3c521635d4 feat(observability): include registry endpoint in k8s health monitoring 2026-04-13 23:26:59 +05:30
Ashwin Kumar Sivakumar
fa005ba881 fix(observability): use internal platform endpoints and reduce k8s pod false positives 2026-04-13 23:22:02 +05:30
Ashwin Kumar Sivakumar
8844a0481d feat(observability): monitor every k8s node and platform endpoints in openobserve 2026-04-13 22:58:36 +05:30
Ashwin Kumar Sivakumar
ace5873261 feat(observability): push nxtgauge endpoint health checks to openobserve 2026-04-13 22:42:59 +05:30
Tracewebstudio Dev
de4df47d38 fix: revert to registry.nxtgauge.com:5000 for all services
Reverting ghcr.io changes - production uses internal registry.
Updated:
- jobs-deployment.yaml: ghcr.io → registry.nxtgauge.com:5000/nxtgauge-rust-jobs
- leads-deployment.yaml: ghcr.io → registry.nxtgauge.com:5000/nxtgauge-rust-leads
- overlays/prod/kustomization.yaml: all images back to registry.nxtgauge.com:5000
- Argo application: image-updater back to registry.nxtgauge.com:5000
2026-04-13 18:46:59 +02:00
Tracewebstudio Dev
8542c72e31 fix: update SMTP to ZeptoMail (smtp.zeptomail.in)
- SMTP_HOST: mail.nxtgauge.com → smtp.zeptomail.in
- SMTP_USER: noreply@nxtgauge.com → emailapikey
- SMTP_PASS: Updated to ZeptoMail API key
- SMTP_FROM_EMAIL: noreply@nxtgauge.comsupport@nxtgauge.com
- Removed SMTP_REQUIRE_TLS (not used)
2026-04-13 18:41:54 +02:00
Tracewebstudio Dev
5312f60bf8 fix: remove namespace from all deployment files
Namespace is now managed by Argo's spec.destination.namespace (nxtgauge)
This stops the permanent OutOfSync noise from duplicate namespace definitions.
2026-04-13 18:24:19 +02:00
Tracewebstudio Dev
dc5aacb03c fix: update jobs/leads to use ghcr.io and add Argo image-updater config
- Switch jobs/leads deployments from registry.nxtgauge.com:5000 to ghcr.io/traceworks2023
- Add jobs and leads to argocd-image-updater image list with digest strategy
- All services now tracked by Argo image-updater for automatic updates
2026-04-13 18:22:40 +02:00
Tracewebstudio Dev
f38eff5fef feat(k8s): add migration job to kustomization 2026-04-13 12:08:13 +02:00
Tracewebstudio Dev
315dcfdb58 feat(k8s): add database migration job 2026-04-13 11:52:09 +02:00
Tracewebstudio Dev
7f84a4cdb3 feat(k8s): add jobs and leads services
- Add jobs service (port 9103) deployment and service
- Add leads service (port 9118) deployment and service
- Update configmap with JOBS_SERVICE_URL and LEADS_SERVICE_URL
- Update kustomization.yaml to include new resources
2026-04-12 22:04:00 +02:00
Tracewebstudio Dev
a29f51e906 fix(k8s): enable DROP_EXISTING_TABLES in migration job 2026-04-12 21:58:58 +02:00
Tracewebstudio Dev
7b6cb67edc feat(k8s): add database migration job manifest 2026-04-12 21:57:35 +02:00
Tracewebstudio Dev
55443b62ad fix(k8s): set B2_REGION and B2_ENDPOINT for storage 2026-04-12 17:29:14 +02:00
Tracewebstudio Dev
52dc11fafc fix(k8s): add B2_REGION placeholder to backend secrets 2026-04-12 16:58:16 +02:00
Ashwin Kumar Sivakumar
156b2f32db Fix backend manifests to use public registry 2026-04-12 20:16:27 +05:30
Ashwin Kumar
96bc5aa42a fix(registry): use node-resolvable backend registry endpoint and add k3s registries runbook 2026-04-11 21:59:50 +02:00
Ashwin Kumar
d2e0a11ed7 fix(gitops): move backend rust images from ghcr to local registry 2026-04-11 20:54:28 +02:00
Ashwin Kumar
5614521b66 fix(k8s): replace underscore backend container names with RFC1123-compliant names 2026-04-11 14:19:57 +02:00
Ashwin Kumar
b568e52400 fix: use unique ports 9100-9117 for all backend rust services 2026-04-09 22:18:35 +02:00
Ashwin Kumar
13edaa96f0 fix: change all service ports to 10000+ range to avoid conflicts
Moved all backend service ports from 8000-8096 range to 10000-10016 range
to avoid port conflicts causing pod shutdowns.

Port assignments:
- Gateway:              10000 (was 8000)
- Users:                10001 (was 8080)
- Companies:            10002 (was 8081)
- Job Seekers:          10003 (was 8082)
- Customers:            10004 (was 8083)
- Payments:             10005 (was 8094)
- Employees:            10006 (was 8096)
- Photographers:        10007 (was 8085)
- Makeup Artists:       10008 (was 8086)
- Tutors:               10009 (was 8087)
- Developers:           10010 (was 8088)
- Video Editors:        10011 (was 8089)
- Graphic Designers:    10012 (was 8090)
- Social Media Managers: 10013 (was 8091)
- Fitness Trainers:     10014 (was 8092)
- Catering Services:    10015 (was 8093)
- UGC Content Creators: 10016 (was 8095)

Updated: deployments, services, configmap, ingress
2026-04-09 13:47:54 +02:00