summaryrefslogtreecommitdiff
path: root/build/cloud
diff options
context:
space:
mode:
authorRyan <zhaoran11@huawei.com>2023-06-06 15:11:59 +0800
committerRyan <zhaoran11@huawei.com>2023-06-06 15:11:59 +0800
commit226cccac13c21a78018e2bb5904fe39e5d00bdcb (patch)
treec7e984919321505393cff7c1470b1231560d1c19 /build/cloud
parentMerge pull request #4753 from cl2017/cleanup/grammar (diff)
downloadkubeedge-226cccac13c21a78018e2bb5904fe39e5d00bdcb.tar.gz
add the right to deleting configmaps in rbac of cloudcore to support devicecontroller to delete configmaps of device-profile
Signed-off-by: Ryan <zhaoran11@huawei.com>
Diffstat (limited to 'build/cloud')
-rw-r--r--build/cloud/03-clusterrole.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/cloud/03-clusterrole.yaml b/build/cloud/03-clusterrole.yaml
index cf128a766..2bb3ac7df 100644
--- a/build/cloud/03-clusterrole.yaml
+++ b/build/cloud/03-clusterrole.yaml
@@ -16,7 +16,7 @@ rules:
resources: ["nodes", "nodes/status", "pods/status"]
verbs: ["patch"]
- apiGroups: [""]
- resources: ["pods"]
+ resources: ["pods", "configmaps"]
verbs: ["delete"]
- apiGroups: ["coordination.k8s.io"]
resources: ["leases"]