deleted reduntant files
This commit is contained in:
parent
5067b604f6
commit
1ba4ae84f9
4 changed files with 26 additions and 2 deletions
|
|
@ -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.
|
||||||
22
db/k8s/migrations/stripe-to-invoice-prod-migrate copy.yaml
Normal file
22
db/k8s/migrations/stripe-to-invoice-prod-migrate copy.yaml
Normal 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.
|
||||||
Loading…
Add table
Reference in a new issue