add migration
All checks were successful
Build and Publish / build-release (push) Successful in 1m20s

This commit is contained in:
2026-04-15 17:01:06 -05:00
parent 8b54f20828
commit 9a0dc4942d
7 changed files with 62 additions and 1 deletions

View File

@@ -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