From 1ba9fb84680a37d324c62cdcd206b7a73e641d54 Mon Sep 17 00:00:00 2001 From: Marc Campbell Date: Sat, 28 Dec 2019 11:03:38 -0800 Subject: [PATCH] [stable/kong] Fix: Preserve whitespace when rendering (#19789) * Preserve whitespace when rendering Signed-off-by: Marc Campbell * Bump kong chart version to 0.31.2 Signed-off-by: Marc Campbell * Add 0.31.2 to changelog Signed-off-by: Marc Campbell --- stable/kong/Chart.yaml | 2 +- stable/kong/README.md | 6 ++++++ stable/kong/templates/migrations-pre-upgrade.yaml | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/stable/kong/Chart.yaml b/stable/kong/Chart.yaml index 2f0ebb047a..95db831a4b 100644 --- a/stable/kong/Chart.yaml +++ b/stable/kong/Chart.yaml @@ -12,5 +12,5 @@ maintainers: name: kong sources: - https://github.com/Kong/kong -version: 0.31.1 +version: 0.31.2 appVersion: 1.4 diff --git a/stable/kong/README.md b/stable/kong/README.md index f17dfa072d..ff606cfe9d 100644 --- a/stable/kong/README.md +++ b/stable/kong/README.md @@ -423,6 +423,12 @@ You can can learn about kong ingress custom resource definitions [here](https:// - Update default version of Ingress Controller to 0.6.2 - Add support to disable kong-admin service via `admin.enabled` flag. +### 0.31.2 + +#### Fixes + +- Do not remove whitespace between documents when rendering `migrations-pre-upgrade.yaml` + ### 0.30.1 #### New Features diff --git a/stable/kong/templates/migrations-pre-upgrade.yaml b/stable/kong/templates/migrations-pre-upgrade.yaml index 084a00cc52..a9f0293b80 100644 --- a/stable/kong/templates/migrations-pre-upgrade.yaml +++ b/stable/kong/templates/migrations-pre-upgrade.yaml @@ -83,7 +83,7 @@ spec: {{- include "kong.volumes" . | nindent 6 -}} {{- end }} -{{- if or .Values.podSecurityPolicy.enabled (and .Values.ingressController.enabled .Values.ingressController.serviceAccount.create) -}} +{{ if or .Values.podSecurityPolicy.enabled (and .Values.ingressController.enabled .Values.ingressController.serviceAccount.create) -}} --- apiVersion: v1 kind: ServiceAccount