Skip to content

Commit

Permalink
build: add init container for worker (#593)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregkonush authored Dec 1, 2024
1 parent af0a772 commit bc001f1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions apps/ecran/ecran-worker-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@ spec:
spec:
imagePullSecrets:
- name: kalmyk-registry
initContainers:
- name: run-migrations
image: kalmyk.duckdns.org/lab/ecran-migrator:latest
imagePullPolicy: Always
env:
- name: DB_URI
valueFrom:
secretKeyRef:
name: ecran-vector-cluster-app
key: uri
containers:
- name: ecran-worker
image: kalmyk.duckdns.org/lab/ecran-worker
Expand Down

0 comments on commit bc001f1

Please sign in to comment.