Add migration services
This commit is contained in:
@@ -102,6 +102,53 @@ deploy:
|
||||
# Access via: https://localhost (or http://localhost)
|
||||
|
||||
profiles:
|
||||
- name: minimal
|
||||
build:
|
||||
local:
|
||||
push: false
|
||||
tagPolicy:
|
||||
envTemplate:
|
||||
template: "dev"
|
||||
deploy:
|
||||
kubectl:
|
||||
manifests:
|
||||
- infrastructure/kubernetes/base/components/databases/auth-db.yaml
|
||||
- infrastructure/kubernetes/base/components/databases/inventory-db.yaml
|
||||
- infrastructure/kubernetes/base/migrations/auth-migration-job.yaml
|
||||
- infrastructure/kubernetes/base/migrations/inventory-migration-job.yaml
|
||||
- infrastructure/kubernetes/base/configs/*.yaml
|
||||
|
||||
- name: full
|
||||
build:
|
||||
local:
|
||||
push: false
|
||||
tagPolicy:
|
||||
envTemplate:
|
||||
template: "dev"
|
||||
deploy:
|
||||
kubectl:
|
||||
manifests:
|
||||
- infrastructure/kubernetes/base/components/databases/*.yaml
|
||||
- infrastructure/kubernetes/base/migrations/*.yaml
|
||||
- infrastructure/kubernetes/base/configs/*.yaml
|
||||
kustomize:
|
||||
paths:
|
||||
- infrastructure/kubernetes/overlays/dev
|
||||
|
||||
- name: single
|
||||
build:
|
||||
local:
|
||||
push: false
|
||||
tagPolicy:
|
||||
envTemplate:
|
||||
template: "dev"
|
||||
deploy:
|
||||
kubectl:
|
||||
manifests:
|
||||
- infrastructure/kubernetes/base/components/databases/{{SERVICE_NAME}}.yaml
|
||||
- infrastructure/kubernetes/base/migrations/{{SERVICE_NAME}}-migration-job.yaml
|
||||
- infrastructure/kubernetes/base/configs/*.yaml
|
||||
|
||||
- name: dev
|
||||
build:
|
||||
local:
|
||||
|
||||
Reference in New Issue
Block a user