From eaf1d891d58bdf55ee9377377a21935898279d2c Mon Sep 17 00:00:00 2001 From: Travis Raines Date: Mon, 6 Jan 2020 13:24:18 -0800 Subject: [PATCH] [stable/kong] fix Job securityContext indentation (#19887) Add an additional level of indentation to Job securityContexts. Previously, the context would render incorrectly, e.g. securityContext: runAsUser: 1000 It should now render as: securityContext: runAsUser: 1000 Signed-off-by: Travis Raines --- stable/kong/Chart.yaml | 2 +- stable/kong/README.md | 12 ++++++++++++ stable/kong/templates/migrations-post-upgrade.yaml | 2 +- stable/kong/templates/migrations-pre-upgrade.yaml | 2 +- stable/kong/templates/migrations.yaml | 2 +- 5 files changed, 16 insertions(+), 4 deletions(-) diff --git a/stable/kong/Chart.yaml b/stable/kong/Chart.yaml index 258269f13c..335ea0cc8e 100644 --- a/stable/kong/Chart.yaml +++ b/stable/kong/Chart.yaml @@ -11,5 +11,5 @@ maintainers: name: kong sources: - https://github.com/Kong/kong -version: 0.34.0 +version: 0.34.1 appVersion: 1.4 diff --git a/stable/kong/README.md b/stable/kong/README.md index 7be1463fd8..d1c9a6716d 100644 --- a/stable/kong/README.md +++ b/stable/kong/README.md @@ -450,6 +450,18 @@ value is your SMTP password. ## Changelog +### 0.34.1 + +#### Fixed + +- Correct indentation for Job securityContexts. + +### 0.34.0 + +#### New features + +- Update default version of Ingress Controller to 0.7.0 + ### 0.33.1 #### Fixed diff --git a/stable/kong/templates/migrations-post-upgrade.yaml b/stable/kong/templates/migrations-post-upgrade.yaml index ff231bf6c5..ff762e338b 100644 --- a/stable/kong/templates/migrations-post-upgrade.yaml +++ b/stable/kong/templates/migrations-post-upgrade.yaml @@ -46,7 +46,7 @@ spec: volumeMounts: {{- include "kong.volumeMounts" . | nindent 8 }} securityContext: - {{- include "kong.podsecuritycontext" . | nindent 6 }} + {{- include "kong.podsecuritycontext" . | nindent 8 }} restartPolicy: OnFailure volumes: {{- include "kong.volumes" . | nindent 6 -}} diff --git a/stable/kong/templates/migrations-pre-upgrade.yaml b/stable/kong/templates/migrations-pre-upgrade.yaml index 090e0b81ba..81abaa2de9 100644 --- a/stable/kong/templates/migrations-pre-upgrade.yaml +++ b/stable/kong/templates/migrations-pre-upgrade.yaml @@ -46,7 +46,7 @@ spec: volumeMounts: {{- include "kong.volumeMounts" . | nindent 8 }} securityContext: - {{- include "kong.podsecuritycontext" . | nindent 6 }} + {{- include "kong.podsecuritycontext" . | nindent 8 }} restartPolicy: OnFailure volumes: {{- include "kong.volumes" . | nindent 6 -}} diff --git a/stable/kong/templates/migrations.yaml b/stable/kong/templates/migrations.yaml index 18626cd1ef..ac5cc7f34e 100644 --- a/stable/kong/templates/migrations.yaml +++ b/stable/kong/templates/migrations.yaml @@ -41,7 +41,7 @@ spec: volumeMounts: {{- include "kong.volumeMounts" . | nindent 8 }} securityContext: - {{- include "kong.podsecuritycontext" . | nindent 6 }} + {{- include "kong.podsecuritycontext" . | nindent 8 }} restartPolicy: OnFailure volumes: {{- include "kong.volumes" . | nindent 6 -}}