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
|
||||
kind: Job
|
||||
metadata:
|
||||
name: atlas-migrate
|
||||
name: atlas-migrate-dev
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
|
|
@ -9,12 +9,14 @@ spec:
|
|||
containers:
|
||||
- name: atlas
|
||||
image: arigaio/atlas:latest
|
||||
command: ["atlas", "migrate", "apply", "--env", "stripe_invoice"]
|
||||
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.
|
||||
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