summaryrefslogtreecommitdiffstats
path: root/roles/openshift_manageiq/vars
diff options
context:
space:
mode:
authorErez Freiberger <efreiber@redhat.com>2016-03-09 11:59:46 +0200
committerErez Freiberger <efreiber@redhat.com>2016-03-24 16:00:02 +0200
commit8bf8728bad2c15f3f9bd69ed4f336c7b28eae408 (patch)
tree2c0d8057392cc272f81826662a199d7f16880aa7 /roles/openshift_manageiq/vars
parent394cb8776bdd7ece0258fd9d3b33ccbd95473b51 (diff)
downloadopenshift-8bf8728bad2c15f3f9bd69ed4f336c7b28eae408.tar.gz
openshift-8bf8728bad2c15f3f9bd69ed4f336c7b28eae408.tar.bz2
openshift-8bf8728bad2c15f3f9bd69ed4f336c7b28eae408.tar.xz
openshift-8bf8728bad2c15f3f9bd69ed4f336c7b28eae408.zip
ManageIQ SA: Adding image-puller role
Diffstat (limited to 'roles/openshift_manageiq/vars')
-rw-r--r--roles/openshift_manageiq/vars/main.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/openshift_manageiq/vars/main.yml b/roles/openshift_manageiq/vars/main.yml
index 77e1c304b..69ee2cb4c 100644
--- a/roles/openshift_manageiq/vars/main.yml
+++ b/roles/openshift_manageiq/vars/main.yml
@@ -15,6 +15,12 @@ manageiq_service_account:
metadata:
name: management-admin
+manageiq_image_inspector_service_account:
+ apiVersion: v1
+ kind: ServiceAccount
+ metadata:
+ name: inspector-admin
+
manage_iq_tmp_conf: /tmp/manageiq_admin.kubeconfig
manage_iq_tasks:
@@ -22,3 +28,5 @@ manage_iq_tasks:
- policy add-role-to-user -n management-infra management-infra-admin -z management-admin
- policy add-cluster-role-to-user cluster-reader system:serviceaccount:management-infra:management-admin
- policy add-scc-to-user privileged system:serviceaccount:management-infra:management-admin
+ - policy add-cluster-role-to-user system:image-puller system:serviceaccount:management-infra:inspector-admin
+ - policy add-scc-to-user privileged system:serviceaccount:management-infra:inspector-admin