add migration
All checks were successful
Build and Publish / build-release (push) Successful in 1m20s
All checks were successful
Build and Publish / build-release (push) Successful in 1m20s
This commit is contained in:
@@ -3,11 +3,29 @@ controllers:
|
||||
enabled: true
|
||||
type: deployment
|
||||
replicas: 1
|
||||
|
||||
initContainers:
|
||||
migrate:
|
||||
image:
|
||||
repository: gitea.corredorconect.com/software-engineering/customer-service
|
||||
tag: '{{ $.Chart.AppVersion }}'
|
||||
args:
|
||||
- "eval"
|
||||
- "CustomService.Release.migrate"
|
||||
env:
|
||||
MIX_ENV: prod
|
||||
DATABASE_URL:
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: policy-service-pg-app
|
||||
key: uri
|
||||
containers:
|
||||
main:
|
||||
image:
|
||||
repository: gitea.corredorconect.com/software-engineering/customer-service
|
||||
tag: '{{ $.Chart.AppVersion }}'
|
||||
args:
|
||||
- "start"
|
||||
env:
|
||||
LOG_LEVEL: info
|
||||
MIX_ENV: prod
|
||||
|
||||
Reference in New Issue
Block a user