[stable/kong] Cassandra, "wait-for-db" initContainer failed to start: Error: [postgres error] could not retrieve server_version: connection refused (#8681)

* [stable/kong] Cassandra, "wait-for-db" initContainer failed to start: Error: [postgres error] could not retrieve server_version: connection refused

Signed-off-by: Dmitry Kozlov <dmitry.f.kozlov@gmail.com>

* [stable/kong] change appVersion to 0.14.1

Signed-off-by: Dmitry Kozlov <dmitry.f.kozlov@gmail.com>

* [stable/kong] change Chart.yaml version to 0.5.2

Signed-off-by: Dmitry Kozlov <dmitry.f.kozlov@gmail.com>

* [stable/kong] added new line in Chart.yaml

Signed-off-by: Dmitry Kozlov <dmitry.f.kozlov@gmail.com>

* [stable/kong] fix Chart.yaml

Signed-off-by: Dmitry Kozlov <dmitry.f.kozlov@gmail.com>
This commit is contained in:
Dmitry Kozlov
2018-10-26 08:59:19 -07:00
committed by k8s-ci-robot
parent 5a9adeb31d
commit 4196ef605e
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -10,5 +10,5 @@ maintainers:
name: kong
sources:
- https://github.com/Kong/kong
version: 0.5.1
version: 0.5.2
appVersion: 0.14.1
+4
View File
@@ -53,6 +53,10 @@ spec:
- name: KONG_CASSANDRA_CONTACT_POINTS
value: {{ template "kong.cassandra.fullname" . }}
{{- end }}
{{- range $key, $val := .Values.env }}
- name: KONG_{{ $key | upper}}
value: {{ $val | quote }}
{{- end}}
command: [ "/bin/sh", "-c", "until kong start; do echo 'waiting for db'; sleep 1; done; kong stop" ]
containers:
- name: {{ template "kong.name" . }}