nxtgauge-gitops/apps/nxtgauge-backend-rust/base/k8s-migration-job.yaml
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

33 lines
811 B
YAML

apiVersion: batch/v1
kind: Job
metadata:
name: nxtgauge-db-migrate
namespace: default
labels:
app: nxtgauge-db-migrate
spec:
ttlSecondsAfterFinished: 300
backoffLimit: 3
template:
metadata:
labels:
app: nxtgauge-db-migrate
spec:
restartPolicy: OnFailure
containers:
- name: migrate
image: registry.nxtgauge.com/nxtgauge-db-migrate:high-performance-latest
imagePullPolicy: Always
envFrom:
- secretRef:
name: nxtgauge-backend-rust-secrets
env:
- name: MIGRATIONS_DIR
value: "/migrations"
resources:
requests:
memory: "64Mi"
cpu: "50m"
limits:
memory: "256Mi"
cpu: "500m"