From 50178243765a15416263ffcd10d711293231dc02 Mon Sep 17 00:00:00 2001 From: mwringe Date: Mon, 24 Jul 2017 17:32:20 -0400 Subject: Metrics: grant hawkular namespace listener role --- .../openshift_metrics/templates/hawkular_metrics_role.j2 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 roles/openshift_metrics/templates/hawkular_metrics_role.j2 (limited to 'roles/openshift_metrics/templates') 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 -- cgit v1.2.3