summaryrefslogtreecommitdiffstats
path: root/roles/openshift_metrics/templates
diff options
context:
space:
mode:
authormwringe <mwringe@redhat.com>2017-07-24 17:32:20 -0400
committermwringe <mwringe@redhat.com>2017-07-24 17:32:20 -0400
commit50178243765a15416263ffcd10d711293231dc02 (patch)
tree24381a8124d0fcdf638da2db49fb247b993da69d /roles/openshift_metrics/templates
parente0c91bffc7a7b918a1ee81ec54f0b25c2e6c9590 (diff)
downloadopenshift-50178243765a15416263ffcd10d711293231dc02.tar.gz
openshift-50178243765a15416263ffcd10d711293231dc02.tar.bz2
openshift-50178243765a15416263ffcd10d711293231dc02.tar.xz
openshift-50178243765a15416263ffcd10d711293231dc02.zip
Metrics: grant hawkular namespace listener role
Diffstat (limited to 'roles/openshift_metrics/templates')
-rw-r--r--roles/openshift_metrics/templates/hawkular_metrics_role.j215
1 files changed, 15 insertions, 0 deletions
diff --git a/roles/openshift_metrics/templates/hawkular_metrics_role.j2 b/roles/openshift_metrics/templates/hawkular_metrics_role.j2
new file mode 100644
index 000000000..6c9dbf5d6
--- /dev/null
+++ b/roles/openshift_metrics/templates/hawkular_metrics_role.j2
@@ -0,0 +1,15 @@
+apiVersion: v1
+kind: ClusterRole
+metadata:
+ name: hawkular-metrics
+ labels:
+ metrics-infra: hawkular-metrics
+rules:
+- apiGroups:
+ - ""
+ resources:
+ - namespaces
+ verbs:
+ - list
+ - get
+ - watch