From ac20c1e6ff1b81ab408d570964f70b7af9518f81 Mon Sep 17 00:00:00 2001 From: Travis Raines Date: Mon, 31 Aug 2020 10:14:31 -0700 Subject: [PATCH] [kong] release 1.9.1 Release version 1.9.1. This version clarifies upgrade documentation for 1.9.0, and does not include functional changes of its own. --- charts/kong/CHANGELOG.md | 19 +++++++++++++++++-- charts/kong/Chart.yaml | 2 +- charts/kong/UPGRADE.md | 6 ++++-- 3 files changed, 22 insertions(+), 5 deletions(-) diff --git a/charts/kong/CHANGELOG.md b/charts/kong/CHANGELOG.md index d7b44e68c..3b0bb0527 100644 --- a/charts/kong/CHANGELOG.md +++ b/charts/kong/CHANGELOG.md @@ -1,12 +1,27 @@ # Changelog +## 1.9.1 + +### Documentation + +* Clarified documentation for [breaking changes in 1.9.0](#190) to indicate + that any values.yaml that sets `waitImage.repository` requires changes, + including those that set the old default. +* Updated Enterprise examples to use latest Enterprise image version. + ## 1.9.0 ### Breaking changes -Changes to the pre-migration database check require [performing an initial chart version upgrade with migrations disabled](https://github.com/Kong/charts/blob/next/charts/kong/UPGRADE.md#changes-to-wait-for-postgres-image). +1.9.0 now uses a bash-based pre-migration database availability check. If you +set `waitImage.repository` in values.yaml, either to the previous default +(`busybox`) or to a custom image, you must change it to an image that includes +a `bash` executable. -If you use a custom image for this check, you will need to change it to an image that provides a `bash` executable. +Once you have `waitImage.repository` set to an image with bash, [perform an +initial chart version upgrade with migrations disabled](https://github.com/Kong/charts/blob/main/charts/kong/UPGRADE.md#changes-to-wait-for-postgres-image) +before re-enabling migrations, updating your Kong image version, and performing +a second release upgrade. ### Improvements diff --git a/charts/kong/Chart.yaml b/charts/kong/Chart.yaml index a1558a3d9..083e17eaa 100644 --- a/charts/kong/Chart.yaml +++ b/charts/kong/Chart.yaml @@ -10,5 +10,5 @@ maintainers: email: traines@konghq.com name: kong sources: -version: 1.9.0 +version: 1.9.1 appVersion: 2.0 diff --git a/charts/kong/UPGRADE.md b/charts/kong/UPGRADE.md index 48f8c4450..e60fa6bd7 100644 --- a/charts/kong/UPGRADE.md +++ b/charts/kong/UPGRADE.md @@ -76,8 +76,10 @@ netcat](https://github.com/Kong/charts/blob/kong-1.8.0/charts/kong/templates/_he As of 1.9.0, the chart uses a [bash script](https://github.com/Kong/charts/blob/kong-1.9.0/charts/kong/templates/wait-for-postgres-script.yaml) -to perform the same connectivity check. The default `waitImage.repository` value -is now `bash` rather than `busybox`. +to perform the same connectivity check. The default `waitImage.repository` +value is now `bash` rather than `busybox`. Double-check your values.yaml to +confirm that you do not set `waitImage.repository` and `waitImage.tag` to the +old defaults: if you do, remove that configuration before upgrading. The Helm upgrade cycle requires this script be available for upgrade jobs. On existing installations, you must first perform an initial `helm upgrade --set