We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 378ca55 + 3c9d152 commit 0c8435bCopy full SHA for 0c8435b
chart/templates/deployment.yaml
@@ -23,6 +23,8 @@ spec:
23
- name: wait-for-db
24
image: "{{ .Values.initImage.repository }}:{{ .Values.initImage.tag }}"
25
args:
26
+ - /bin/sh
27
+ - -c
28
- >
29
set -x;
30
while [[ "$(nc -zv '{{- .Values.database.host -}}' {{ .Values.database.port }} &> /dev/null; echo $?)" != 0 ]]; do
@@ -33,6 +35,8 @@ spec:
33
35
- name: wait-for-search
34
36
37
38
39
40
41
42
while [[ "$(nc -zv '{{- .Values.search.host -}}' {{ .Values.search.port }} &> /dev/null; echo $?)" != 0 ]]; do
0 commit comments