add delay in Kong init-container

Signed-off-by: Shashi Ranjan <shashi@konghq.com>
This commit is contained in:
Shashi Ranjan
2018-09-06 20:11:31 -07:00
parent ddd934973e
commit 7286f5a190
+1 -1
View File
@@ -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 }}"