Skip to content

Commit cdce20b

Browse files
fix: add waiter init container on init-db job (#172)
1 parent d9c7b6b commit cdce20b

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

charts/scroll-sdk/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: v2
33
description: scroll helm charts to deploy scroll sdk
44
name: scroll-sdk
5-
version: 0.0.33
5+
version: 0.0.34
66
appVersion: v0.1.0
77
kubeVersion: ">=1.22.0-0"
88
maintainers:

charts/scroll-sdk/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# scroll-sdk
22

3-
![Version: 0.0.33](https://img.shields.io/badge/Version-0.0.33-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)
3+
![Version: 0.0.34](https://img.shields.io/badge/Version-0.0.34-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)
44

55
scroll helm charts to deploy scroll sdk
66

charts/scroll-sdk/templates/init-db-job.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ metadata:
77
spec:
88
template:
99
spec:
10+
initContainers:
11+
- name: 1-wait-for-postgres
12+
image: atkrad/wait4x:latest
13+
args:
14+
- tcp
15+
- postgresql:5432
16+
- --timeout
17+
- "0"
1018
containers:
1119
- name: init-db
1220
image: postgres:latest

0 commit comments

Comments
 (0)