summaryrefslogtreecommitdiff
path: root/build/cloud
diff options
context:
space:
mode:
authorcuirunxing-hub <cuirunxing@inspur.com>2021-09-17 09:56:02 +0800
committercuirunxing-hub <cuirunxing@inspur.com>2021-09-17 09:57:29 +0800
commit3f39b04466255f65aa20ee1b083656d6c56c4ebe (patch)
tree62b41274821aa2dfa902106636427567029f7d5c /build/cloud
parentMerge pull request #3170 from gy95/testtest (diff)
downloadkubeedge-3f39b04466255f65aa20ee1b083656d6c56c4ebe.tar.gz
when use local-volume plugin,if edged cannot get pv&pvc,the volume mount action cannot go on
Signed-off-by: cuirunxing-hub <cuirunxing@inspur.com>
Diffstat (limited to 'build/cloud')
-rw-r--r--build/cloud/03-clusterrole.yaml2
-rw-r--r--build/cloud/ha/01-ha-prepare.yaml4
2 files changed, 3 insertions, 3 deletions
diff --git a/build/cloud/03-clusterrole.yaml b/build/cloud/03-clusterrole.yaml
index a55c832fd..626fe29ed 100644
--- a/build/cloud/03-clusterrole.yaml
+++ b/build/cloud/03-clusterrole.yaml
@@ -7,7 +7,7 @@ metadata:
kubeedge: cloudcore
rules:
- apiGroups: [""]
- resources: ["nodes", "nodes/status", "configmaps", "pods", "pods/status", "secrets", "endpoints", "services"]
+ resources: ["nodes", "nodes/status", "configmaps", "pods", "pods/status", "secrets", "endpoints", "services","persistentvolumes","persistentvolumeclaims"]
verbs: ["get", "list", "watch", "create", "update"]
- apiGroups: [""]
resources: ["namespaces"]
diff --git a/build/cloud/ha/01-ha-prepare.yaml b/build/cloud/ha/01-ha-prepare.yaml
index 5ea02033d..d9f827e60 100644
--- a/build/cloud/ha/01-ha-prepare.yaml
+++ b/build/cloud/ha/01-ha-prepare.yaml
@@ -26,7 +26,7 @@ metadata:
kubeedge: cloudcore
rules:
- apiGroups: [""]
- resources: ["nodes", "nodes/status", "configmaps", "pods", "pods/status", "secrets", "endpoints", "services"]
+ resources: ["nodes", "nodes/status", "configmaps", "pods", "pods/status", "secrets", "endpoints", "services","persistentvolumes","persistentvolumeclaims"]
verbs: ["get", "list", "watch", "create", "update"]
- apiGroups: [""]
resources: ["namespaces"]
@@ -768,4 +768,4 @@ spec:
description: 'Required: DeviceModelRef is reference to the device model
used as a template to create the device instance.'
type: string
- version: v1alpha1 \ No newline at end of file
+ version: v1alpha1