Skip to content

Commit

Permalink
fix: add waiter init container on init-db job (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbaizet-ledger committed Sep 24, 2024
1 parent 3b57827 commit b40bfd3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions charts/scroll-sdk/templates/init-db-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ metadata:
spec:
template:
spec:
initContainers:
- name: 1-wait-for-postgres
image: atkrad/wait4x:latest
args:
- tcp
- postgresql:5432
- --timeout
- "0"
containers:
- name: init-db
image: postgres:latest
Expand Down

0 comments on commit b40bfd3

Please sign in to comment.