aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/microservices/visualization-operator/deploy/role.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'vnfs/DAaaS/microservices/visualization-operator/deploy/role.yaml')
-rw-r--r--vnfs/DAaaS/microservices/visualization-operator/deploy/role.yaml53
1 files changed, 53 insertions, 0 deletions
diff --git a/vnfs/DAaaS/microservices/visualization-operator/deploy/role.yaml b/vnfs/DAaaS/microservices/visualization-operator/deploy/role.yaml
new file mode 100644
index 00000000..a140ca2c
--- /dev/null
+++ b/vnfs/DAaaS/microservices/visualization-operator/deploy/role.yaml
@@ -0,0 +1,53 @@
+kind: Role
+apiVersion: rbac.authorization.k8s.io/v1
+metadata:
+ name: visualization-operator
+rules:
+- apiGroups:
+ - ""
+ resources:
+ - pods
+ - services
+ - endpoints
+ - persistentvolumeclaims
+ - events
+ - configmaps
+ - secrets
+ verbs:
+ - "*"
+- apiGroups:
+ - apps
+ resources:
+ - deployments
+ - daemonsets
+ - replicasets
+ - statefulsets
+ verbs:
+ - "*"
+- apiGroups:
+ - monitoring.coreos.com
+ resources:
+ - servicemonitors
+ verbs:
+ - "get"
+ - "create"
+- apiGroups:
+ - apps
+ resources:
+ - deployments/finalizers
+ resourceNames:
+ - visualization-operator
+ verbs:
+ - "update"
+- apiGroups:
+ - ""
+ resources:
+ - pods
+ verbs:
+ - get
+- apiGroups:
+ - apps
+ resources:
+ - replicasets
+ verbs:
+ - get