summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorzhu733756 <zhu733756@kubesphere.io>2022-01-06 16:25:41 +0800
committerzhu733756 <zhu733756@kubesphere.io>2022-01-06 17:10:53 +0800
commit883a4a7bd0fb9c4ad8d01cd6ce53088c78afc9b5 (patch)
tree66d15136126574e8e6a49e2a17fb6b62316e00dd /build
parentMerge pull request #3499 from stingshen/stingshen/node_duplicate_ip (diff)
downloadkubeedge-883a4a7bd0fb9c4ad8d01cd6ce53088c78afc9b5.tar.gz
patch cloudcore rbac
Signed-off-by: zhu733756 <zhu733756@kubesphere.io>
Diffstat (limited to 'build')
-rw-r--r--build/cloud/03-clusterrole.yaml2
-rw-r--r--build/cloud/ha/01-ha-prepare.yaml2
-rw-r--r--build/helm/cloudcore/templates/rbac_cloudcore.yaml2
3 files changed, 3 insertions, 3 deletions
diff --git a/build/cloud/03-clusterrole.yaml b/build/cloud/03-clusterrole.yaml
index f4ba01584..b505ebfb7 100644
--- a/build/cloud/03-clusterrole.yaml
+++ b/build/cloud/03-clusterrole.yaml
@@ -11,7 +11,7 @@ rules:
verbs: ["get", "list", "watch", "create", "update"]
- apiGroups: [""]
resources: ["namespaces"]
- verbs: ["get", "create"]
+ verbs: ["get", "create", "list", "watch"]
- apiGroups: [""]
resources: ["nodes", "pods/status"]
verbs: ["patch"]
diff --git a/build/cloud/ha/01-ha-prepare.yaml b/build/cloud/ha/01-ha-prepare.yaml
index 24d966eae..e11f72a3f 100644
--- a/build/cloud/ha/01-ha-prepare.yaml
+++ b/build/cloud/ha/01-ha-prepare.yaml
@@ -30,7 +30,7 @@ rules:
verbs: ["get", "list", "watch", "create", "update"]
- apiGroups: [""]
resources: ["namespaces"]
- verbs: ["get", "create"]
+ verbs: ["get", "create", "list", "watch"]
- apiGroups: [""]
resources: ["nodes", "pods/status"]
verbs: ["patch"]
diff --git a/build/helm/cloudcore/templates/rbac_cloudcore.yaml b/build/helm/cloudcore/templates/rbac_cloudcore.yaml
index df6d7a462..d105e3d87 100644
--- a/build/helm/cloudcore/templates/rbac_cloudcore.yaml
+++ b/build/helm/cloudcore/templates/rbac_cloudcore.yaml
@@ -12,7 +12,7 @@ rules:
verbs: ["get", "list", "watch", "create", "update"]
- apiGroups: [""]
resources: ["namespaces"]
- verbs: ["get", "create"]
+ verbs: ["get", "create", "list", "watch"]
- apiGroups: [""]
resources: ["nodes", "pods/status"]
verbs: ["patch"]