From eeca69a52f8dfdadc70a3f9ffb55f1316c7af6f3 Mon Sep 17 00:00:00 2001 From: Anas El Barkani Date: Sun, 10 Apr 2022 18:15:44 +0200 Subject: [PATCH] added priority --- .../templates/admission-webhooks/job-patch/scc.yaml | 2 +- charts/ingress-nginx/templates/controller-scc.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/ingress-nginx/templates/admission-webhooks/job-patch/scc.yaml b/charts/ingress-nginx/templates/admission-webhooks/job-patch/scc.yaml index 98943aa31..805f7bec3 100644 --- a/charts/ingress-nginx/templates/admission-webhooks/job-patch/scc.yaml +++ b/charts/ingress-nginx/templates/admission-webhooks/job-patch/scc.yaml @@ -24,7 +24,7 @@ fsGroup: type: MustRunAs users: - system:serviceaccount:{{ .Release.Namespace }}:{{ include "ingress-nginx.fullname" . }}-admission -priority: null +priority: 10 readOnlyRootFilesystem: false runAsUser: type: MustRunAsNonRoot diff --git a/charts/ingress-nginx/templates/controller-scc.yaml b/charts/ingress-nginx/templates/controller-scc.yaml index fdafb2e72..912ac6dc8 100644 --- a/charts/ingress-nginx/templates/controller-scc.yaml +++ b/charts/ingress-nginx/templates/controller-scc.yaml @@ -23,7 +23,7 @@ requiredDropCapabilities: fsGroup: type: MustRunAs -priority: null +priority: 10 readOnlyRootFilesystem: false runAsUser: type: MustRunAsNonRoot