26 lines
No EOL
535 B
YAML
26 lines
No EOL
535 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"]
|
|
# args: ["migrate", "apply", "--env", "stripe_invoice"]
|
|
# envFrom:
|
|
# - secretRef:
|
|
# name: postgres-secret
|
|
|
|
|
|
|
|
|
|
# # You can run this:
|
|
# # kubectl apply -f k8s/migrations/atlas-job.yaml
|
|
# # Or later from CI.
|
|
|
|
|
|
#doesn't work - 28/12/2025 |