Skip to content

Commit

Permalink
Merge pull request #26 from FusionAuth/fix-entrypoint-for-init
Browse files Browse the repository at this point in the history
call for sh
  • Loading branch information
drpebcak authored Jun 15, 2020
2 parents 378ca55 + 3c9d152 commit 0c8435b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ spec:
- name: wait-for-db
image: "{{ .Values.initImage.repository }}:{{ .Values.initImage.tag }}"
args:
- /bin/sh
- -c
- >
set -x;
while [[ "$(nc -zv '{{- .Values.database.host -}}' {{ .Values.database.port }} &> /dev/null; echo $?)" != 0 ]]; do
Expand All @@ -33,6 +35,8 @@ spec:
- name: wait-for-search
image: "{{ .Values.initImage.repository }}:{{ .Values.initImage.tag }}"
args:
- /bin/sh
- -c
- >
set -x;
while [[ "$(nc -zv '{{- .Values.search.host -}}' {{ .Values.search.port }} &> /dev/null; echo $?)" != 0 ]]; do
Expand Down

0 comments on commit 0c8435b

Please sign in to comment.