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:
Marco Franssen
2024-01-26 13:51:28 +01:00
parent 573beaf2b0
commit 0fbc51223c
+1 -1
View File
@@ -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: