mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
add delay in Kong init-container
Signed-off-by: Shashi Ranjan <shashi@konghq.com>
This commit is contained in:
@@ -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 }}"
|
||||
|
||||
Reference in New Issue
Block a user