Skip to content

Commit 0c8435b

Browse files
authored
Merge pull request #26 from FusionAuth/fix-entrypoint-for-init
call for sh
2 parents 378ca55 + 3c9d152 commit 0c8435b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

chart/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ spec:
2323
- name: wait-for-db
2424
image: "{{ .Values.initImage.repository }}:{{ .Values.initImage.tag }}"
2525
args:
26+
- /bin/sh
27+
- -c
2628
- >
2729
set -x;
2830
while [[ "$(nc -zv '{{- .Values.database.host -}}' {{ .Values.database.port }} &> /dev/null; echo $?)" != 0 ]]; do
@@ -33,6 +35,8 @@ spec:
3335
- name: wait-for-search
3436
image: "{{ .Values.initImage.repository }}:{{ .Values.initImage.tag }}"
3537
args:
38+
- /bin/sh
39+
- -c
3640
- >
3741
set -x;
3842
while [[ "$(nc -zv '{{- .Values.search.host -}}' {{ .Values.search.port }} &> /dev/null; echo $?)" != 0 ]]; do

0 commit comments

Comments
 (0)