From 564a7138e646343e0f1b9b2222f682619364af35 Mon Sep 17 00:00:00 2001 From: Marco Ebert Date: Fri, 6 Oct 2023 18:21:09 +0200 Subject: [PATCH] Controller/PSP: Remove quotes. --- .../templates/controller-psp.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/charts/ingress-nginx/templates/controller-psp.yaml b/charts/ingress-nginx/templates/controller-psp.yaml index 9e0a6f881..9cc5bd04b 100644 --- a/charts/ingress-nginx/templates/controller-psp.yaml +++ b/charts/ingress-nginx/templates/controller-psp.yaml @@ -26,11 +26,11 @@ spec: allowPrivilegeEscalation: true # Allow core volume types. volumes: - - 'configMap' - - 'emptyDir' - - 'projected' - - 'secret' - - 'downwardAPI' + - configMap + - emptyDir + - projected + - secret + - downwardAPI {{- if .Values.controller.hostNetwork }} hostNetwork: {{ .Values.controller.hostNetwork }} {{- end }} @@ -74,21 +74,21 @@ spec: hostPID: false runAsUser: # Require the container to run without root privileges. - rule: 'MustRunAsNonRoot' + rule: MustRunAsNonRoot supplementalGroups: - rule: 'MustRunAs' + rule: MustRunAs ranges: # Forbid adding the root group. - min: 1 max: 65535 fsGroup: - rule: 'MustRunAs' + rule: MustRunAs ranges: # Forbid adding the root group. - min: 1 max: 65535 readOnlyRootFilesystem: false seLinux: - rule: 'RunAsAny' + rule: RunAsAny {{- end }} {{- end }}