nxtgauge-gitops/apps/nxtgauge-backend-rust/base/cron-deployment.yaml
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

34 lines
799 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: nxtgauge-rust-cron
labels:
app: nxtgauge-rust-cron
spec:
replicas: 1
selector:
matchLabels:
app: nxtgauge-rust-cron
template:
metadata:
labels:
app: nxtgauge-rust-cron
spec:
imagePullSecrets:
- name: regcred
containers:
- name: cron
image: registry.nxtgauge.com/nxtgauge-rust-cron:latest
imagePullPolicy: Always
envFrom:
- configMapRef:
name: nxtgauge-backend-rust-config
- secretRef:
name: nxtgauge-backend-rust-secrets
resources:
requests:
cpu: 50m
memory: 64Mi
limits:
cpu: 200m
memory: 128Mi