From c9ae6d872a26671222c4a785a985737ebaa22070 Mon Sep 17 00:00:00 2001 From: Arik Hadas Date: Thu, 31 Aug 2023 13:43:08 +0300 Subject: [PATCH] Add forklift-populator-controller as a user of forklift-controller-scc Signed-off-by: Arik Hadas --- .../templates/controller/controller-scc.yml.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/operator/roles/forkliftcontroller/templates/controller/controller-scc.yml.j2 b/operator/roles/forkliftcontroller/templates/controller/controller-scc.yml.j2 index 4312e87e9..765a8138f 100644 --- a/operator/roles/forkliftcontroller/templates/controller/controller-scc.yml.j2 +++ b/operator/roles/forkliftcontroller/templates/controller/controller-scc.yml.j2 @@ -5,10 +5,11 @@ metadata: name: forklift-controller-scc users: - system:serviceaccount:{{ app_namespace }}:forklift-controller + - system:serviceaccount:{{ app_namespace }}:forklift-populator-controller runAsUser: type: RunAsAny seLinuxContext: type: RunAsAny allowPrivilegedContainer: false seccompProfiles: - - runtime/default \ No newline at end of file + - runtime/default