Commit graph

6 commits

Author SHA1 Message Date
Ashwin Kumar Sivakumar
eb8547ad9f fix: update BASE_IMAGES to only include actual registry images
- Keep: alpine (runtime), node (frontend), rust (backend builder)
- Remove: busybox, golang, nginx (not used)
- Remove: postgres, redis (used from Docker Hub, not registry)
- Eliminates warning messages in cleanup logs
2026-06-12 04:58:44 +05:30
Ashwin Kumar Sivakumar
4eed905fb6 feat: auto-trigger garbage collection after manifest cleanup
- Added automatic GC to prune script after deleting manifests
- Cronjob now uses python:3.12-slim with kubectl installed
- Added serviceAccountName: registry-gc-runner for permissions
- GC scales down registry, runs garbage-collect, scales back up
- Deletes unreferenced blob layers to actually free disk space
2026-06-12 04:50:02 +05:30
Ashwin Kumar Sivakumar
b6b7d62bad fix: registry cleanup now only preserves buildcache, not high-performance-latest 2026-06-12 04:40:53 +05:30
Ashwin Kumar Sivakumar
201470a951 fix: reduce kept SHA builds from 3 to 2 to save disk space 2026-06-12 04:32:29 +05:30
Ashwin Kumar Sivakumar
3595de89c3 fix(registry): protect base images (alpine, node, rust) from retention script 2026-06-11 01:17:15 +05:30
Ashwin Kumar Sivakumar
827477ac3f fix(backend): add PORT env to deployments + BEECEPTOR_URL config
16 of 20 rust services were crashing on boot because their main.rs calls
std::env::var('PORT').expect(...). This commit adds the missing PORT env
to each deployment YAML, matching its containerPort (9100-9118).

Also adds BEECEPTOR_URL to the ConfigMap - the payments service requires
it for the mock payment gateway integration.

Adds apps/registry/ with retention script + CronJob (keep last 3 SHA
builds, preserve -latest aliases) to prevent the single-build wipeout
that caused the original registry outage.

AI assistant image also rebuilt: 2876b45 (main branch) - it was on a
ghost SHA tag that was GC'd.
2026-06-11 01:17:15 +05:30