From 7286f5a19079b04db143ee79fea643e7bb57dba3 Mon Sep 17 00:00:00 2001 From: Shashi Ranjan Date: Thu, 6 Sep 2018 20:10:35 -0700 Subject: [PATCH] add delay in Kong init-container Signed-off-by: Shashi Ranjan --- stable/kong/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stable/kong/templates/deployment.yaml b/stable/kong/templates/deployment.yaml index a0bc942b8e..bd6847890b 100644 --- a/stable/kong/templates/deployment.yaml +++ b/stable/kong/templates/deployment.yaml @@ -26,7 +26,7 @@ spec: initContainers: - name: init-kong-database image: busybox - command: ['sh', '-c', 'until nslookup {{ template "kong.postgresql.fullname" . }}; do echo waiting for {{ template "kong.postgresql.fullname" . }}; sleep 2; done;'] + command: ['sh', '-c', 'sleep 15;'] containers: - name: {{ template "kong.name" . }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"