deleted reduntant files

This commit is contained in:
Jun-te Kim 2025-12-28 13:05:42 +00:00
parent 5067b604f6
commit 1ba4ae84f9
4 changed files with 26 additions and 2 deletions

View file

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

View file

@ -0,0 +1,22 @@
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_prod"]
envFrom:
- secretRef:
name: postgres-secret
# You can run this:
# kubectl apply -f k8s/migrations/atlas-job.yaml
# Or later from CI.

View file

View file