From dba90d87b548470dddc07ae654b501e2cfcbd33e Mon Sep 17 00:00:00 2001 From: Harry Date: Wed, 8 May 2019 17:12:48 -0700 Subject: [PATCH] [stable/kong] correct wait image for migrations (#13595) Fix #13527 Signed-off-by: Harry Bagdi --- stable/kong/Chart.yaml | 2 +- stable/kong/templates/migrations-post-upgrade.yaml | 2 +- stable/kong/templates/migrations-pre-upgrade.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/stable/kong/Chart.yaml b/stable/kong/Chart.yaml index ab9dac8cd2..b4049f02b0 100644 --- a/stable/kong/Chart.yaml +++ b/stable/kong/Chart.yaml @@ -10,5 +10,5 @@ maintainers: name: kong sources: - https://github.com/Kong/kong -version: 0.10.2 +version: 0.10.3 appVersion: 1.1 diff --git a/stable/kong/templates/migrations-post-upgrade.yaml b/stable/kong/templates/migrations-post-upgrade.yaml index 2738d66e9e..2a35b17173 100644 --- a/stable/kong/templates/migrations-post-upgrade.yaml +++ b/stable/kong/templates/migrations-post-upgrade.yaml @@ -32,7 +32,7 @@ spec: {{- if .Values.postgresql.enabled }} initContainers: - name: wait-for-postgres - image: busybox + image: "{{ .Values.waitImage.repository }}:{{ .Values.waitImage.tag }}" env: - name: KONG_PG_HOST value: {{ template "kong.postgresql.fullname" . }} diff --git a/stable/kong/templates/migrations-pre-upgrade.yaml b/stable/kong/templates/migrations-pre-upgrade.yaml index 732ad3c5e4..585abb8be0 100644 --- a/stable/kong/templates/migrations-pre-upgrade.yaml +++ b/stable/kong/templates/migrations-pre-upgrade.yaml @@ -32,7 +32,7 @@ spec: {{- if .Values.postgresql.enabled }} initContainers: - name: wait-for-postgres - image: busybox + image: "{{ .Values.waitImage.repository }}:{{ .Values.waitImage.tag }}" env: - name: KONG_PG_HOST value: {{ template "kong.postgresql.fullname" . }}