aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/collectd-operator/deploy/role.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'vnfs/DAaaS/collectd-operator/deploy/role.yaml')
-rw-r--r--vnfs/DAaaS/collectd-operator/deploy/role.yaml23
1 files changed, 15 insertions, 8 deletions
diff --git a/vnfs/DAaaS/collectd-operator/deploy/role.yaml b/vnfs/DAaaS/collectd-operator/deploy/role.yaml
index c748132c..d7aba353 100644
--- a/vnfs/DAaaS/collectd-operator/deploy/role.yaml
+++ b/vnfs/DAaaS/collectd-operator/deploy/role.yaml
@@ -1,6 +1,7 @@
-kind: Role
apiVersion: rbac.authorization.k8s.io/v1
+kind: ClusterRole
metadata:
+ creationTimestamp: null
name: collectd-operator
rules:
- apiGroups:
@@ -14,7 +15,7 @@ rules:
- configmaps
- secrets
verbs:
- - "*"
+ - '*'
- apiGroups:
- apps
resources:
@@ -23,19 +24,25 @@ rules:
- replicasets
- statefulsets
verbs:
- - "*"
+ - '*'
- apiGroups:
- monitoring.coreos.com
resources:
- servicemonitors
verbs:
- - "get"
- - "create"
+ - get
+ - create
- apiGroups:
- apps
- resources:
- - deployments/finalizers
resourceNames:
- collectd-operator
+ resources:
+ - deployments/finalizers
+ verbs:
+ - update
+- apiGroups:
+ - onap.org
+ resources:
+ - '*'
verbs:
- - "update"
+ - '*'