summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/cloud/03-clusterrole.yaml3
-rw-r--r--manifests/charts/cloudcore/templates/rbac_cloudcore.yaml3
2 files changed, 6 insertions, 0 deletions
diff --git a/build/cloud/03-clusterrole.yaml b/build/cloud/03-clusterrole.yaml
index c6d4e9b74..cf128a766 100644
--- a/build/cloud/03-clusterrole.yaml
+++ b/build/cloud/03-clusterrole.yaml
@@ -36,3 +36,6 @@ rules:
- apiGroups: ["networking.istio.io"]
resources: ["*"]
verbs: ["get", "list", "watch"]
+- apiGroups: ["operations.kubeedge.io"]
+ resources: ["nodeupgradejobs", "nodeupgradejobs/status"]
+ verbs: ["get", "list", "watch", "update", "patch"]
diff --git a/manifests/charts/cloudcore/templates/rbac_cloudcore.yaml b/manifests/charts/cloudcore/templates/rbac_cloudcore.yaml
index 549ebb045..53534b62e 100644
--- a/manifests/charts/cloudcore/templates/rbac_cloudcore.yaml
+++ b/manifests/charts/cloudcore/templates/rbac_cloudcore.yaml
@@ -37,6 +37,9 @@ rules:
- apiGroups: ["networking.istio.io"]
resources: ["*"]
verbs: ["get", "list", "watch"]
+- apiGroups: ["operations.kubeedge.io"]
+ resources: ["nodeupgradejobs", "nodeupgradejobs/status"]
+ verbs: ["get", "list", "watch", "update", "patch"]
---
apiVersion: v1