From b8a9dfb86aa7de788e468ad35d11d1c8d0834c92 Mon Sep 17 00:00:00 2001 From: OpenShift Cherrypick Robot Date: Tue, 10 Oct 2023 01:49:07 +0000 Subject: [PATCH] add update/patch permission of namespace to klusterlet (#298) Signed-off-by: Yang Le Co-authored-by: Yang Le --- .../importconfig/manifests/klusterlet/cluster_role.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/importconfig/manifests/klusterlet/cluster_role.yaml b/pkg/controller/importconfig/manifests/klusterlet/cluster_role.yaml index 3481143a..2201c4c2 100644 --- a/pkg/controller/importconfig/manifests/klusterlet/cluster_role.yaml +++ b/pkg/controller/importconfig/manifests/klusterlet/cluster_role.yaml @@ -14,7 +14,7 @@ rules: verbs: ["create"] - apiGroups: [""] resources: ["namespaces"] - verbs: ["create", "get", "list", "watch","delete"] + verbs: ["create", "get", "list", "update", "watch", "patch", "delete"] - apiGroups: [""] resources: ["nodes"] verbs: ["get", "list", "watch"]