[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 <traines@konghq.com>
This commit is contained in:
Travis Raines
2020-01-06 13:24:18 -08:00
committed by Kubernetes Prow Robot
parent 6ba8013533
commit eaf1d891d5
5 changed files with 16 additions and 4 deletions
+1 -1
View File
@@ -11,5 +11,5 @@ maintainers:
name: kong
sources:
- https://github.com/Kong/kong
version: 0.34.0
version: 0.34.1
appVersion: 1.4
+12
View File
@@ -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
@@ -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 -}}
@@ -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 -}}
+1 -1
View File
@@ -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 -}}