From 497c01b5aa249eced1df4ba5a05c88a68df7591d Mon Sep 17 00:00:00 2001 From: Erez Freiberger Date: Sun, 18 Jun 2017 18:30:50 +0300 Subject: adding pods/logs to manageiq role This will allow manageiq to read the logs from elasticsearch in the logging project. Also, adding role to correct user and as clusterrole --- roles/openshift_manageiq/tasks/main.yaml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'roles/openshift_manageiq/tasks') diff --git a/roles/openshift_manageiq/tasks/main.yaml b/roles/openshift_manageiq/tasks/main.yaml index cfc4e2722..7789d2232 100644 --- a/roles/openshift_manageiq/tasks/main.yaml +++ b/roles/openshift_manageiq/tasks/main.yaml @@ -21,6 +21,12 @@ oc_clusterrole: name: management-infra-admin rules: + - apiGroups: + - "" + resources: + - pods/log + verbs: + - "get" - apiGroups: - "" resources: -- cgit v1.2.3