diff options
author | Srivahni <srivahni.chivukula@intel.com> | 2019-10-24 14:08:58 -0700 |
---|---|---|
committer | Marco Platania <platania@research.att.com> | 2019-11-13 14:12:44 +0000 |
commit | 2026cb5283fbc44a4f68641f6e85628381ebda04 (patch) | |
tree | f66efc4b80884b6ff7a494b57c516e13e814f061 /vnfs/DAaaS/microservices/remote-config-operator/deploy/role.yaml | |
parent | 938afb8217d5414c4cd0d63650e24d0398ddcc91 (diff) |
Add/update/delete PrometheusRemoteEndpoint CR
PrometheusRemoteEndpoint CR when applied, a remote write endpoint
is added/updated/deleted in prometheus.
Issue-ID: ONAPARC-393
Signed-off-by: Srivahni <srivahni.chivukula@intel.com>
Change-Id: I8cdc0b673b35be3457a2b12c6769cd3cf62ac6c5
Diffstat (limited to 'vnfs/DAaaS/microservices/remote-config-operator/deploy/role.yaml')
-rw-r--r-- | vnfs/DAaaS/microservices/remote-config-operator/deploy/role.yaml | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/vnfs/DAaaS/microservices/remote-config-operator/deploy/role.yaml b/vnfs/DAaaS/microservices/remote-config-operator/deploy/role.yaml new file mode 100644 index 00000000..dcf0473d --- /dev/null +++ b/vnfs/DAaaS/microservices/remote-config-operator/deploy/role.yaml @@ -0,0 +1,62 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + creationTimestamp: null + name: remote-config-operator +rules: +- apiGroups: + - "" + resources: + - pods + - services + - services/finalizers + - 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 + resourceNames: + - remote-config-operator + resources: + - deployments/finalizers + verbs: + - update +- apiGroups: + - "" + resources: + - pods + verbs: + - get +- apiGroups: + - apps + resources: + - replicasets + verbs: + - get +- apiGroups: + - onap.org + resources: + - '*' + - remotefilteractions + verbs: + - '*' |