Run monitoring TG migrations before startup
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 14s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 14s
This commit is contained in:
@@ -28,6 +28,16 @@ spec:
|
||||
terminationGracePeriodSeconds: 20
|
||||
securityContext:
|
||||
fsGroup: 1000
|
||||
initContainers:
|
||||
- name: monitoring-tg-migrate
|
||||
image: localhost:30300/admin/monitoring-tg-server:latest
|
||||
command: ["alembic"]
|
||||
args: ["upgrade", "head"]
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: monitoring-tg-config
|
||||
- secretRef:
|
||||
name: monitoring-tg-secrets
|
||||
containers:
|
||||
- name: monitoring-tg-server
|
||||
image: localhost:30300/admin/monitoring-tg-server:latest
|
||||
|
||||
Reference in New Issue
Block a user