aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/collectd-operator/deploy/role.yaml
diff options
context:
space:
mode:
authorDileep Ranganathan <dileep.ranganathan@intel.com>2019-05-28 15:02:54 -0700
committerGary Wu <gwu@futurewei.com>2019-05-30 20:40:06 +0000
commit20d2faee7b9a36a50371854a3688b6421a70ebcb (patch)
tree0aaf24c7f69e1efe3190ddd146e3d26ce234c6b0 /vnfs/DAaaS/collectd-operator/deploy/role.yaml
parentd3d776d1260f6ba6dbaa483399ed8e2889d72a59 (diff)
Collectd Operator API
Define spec for CollectdPlugin CRD. Create CRD and sample CR for CollectdPlugin and autogenerated code. Updated Makefile and deployment artifacts. Issue-ID: ONAPARC-461 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com> Change-Id: I10bc198976b415efcfab01258342abbd2b4dfcc9
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"
+ - '*'