juntekim.com/db/k8s/migrations/stripe-to-invoice-dev-migrate.yaml
2025-12-28 13:05:42 +00:00

22 lines
No EOL
454 B
YAML

apiVersion: batch/v1
kind: Job
metadata:
name: atlas-migrate-dev
spec:
template:
spec:
restartPolicy: Never
containers:
- name: atlas
image: arigaio/atlas:latest
command: ["atlas", "migrate", "apply", "--env", "stripe_invoice_dev"]
envFrom:
- secretRef:
name: postgres-secret
# You can run this:
# kubectl apply -f k8s/migrations/atlas-job.yaml
# Or later from CI.