Remove the white line from securityContext rendering
Prevents the following diff introduced since the 0.17.0 release.
```diff
containers:
- name: post-install-job
securityContext:
+
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
```
Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
@@ -273,7 +273,7 @@ fsGroupChangePolicy: OnRootMismatch
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- define "spire-lib.securitycontext" }}
|
{{- define "spire-lib.securitycontext" }}
|
||||||
{{ include "spire-lib.securitycontext-extended" (dict "root" . "securityContext" .Values.securityContext) }}
|
{{- include "spire-lib.securitycontext-extended" (dict "root" . "securityContext" .Values.securityContext) }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{/* Same as securitycontext but takes in:
|
{{/* Same as securitycontext but takes in:
|
||||||
|
|||||||
Reference in New Issue
Block a user