From 4ab3e20e333d107163abe2a3c88f2aecae3fd77e Mon Sep 17 00:00:00 2001 From: "Jose A. Rivera" Date: Fri, 29 Sep 2017 22:45:10 -0500 Subject: GlusterFS: make ServiceAccounts privileged when either glusterfs or heketi is native Signed-off-by: Jose A. Rivera --- roles/openshift_storage_glusterfs/tasks/glusterfs_deploy.yml | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'roles/openshift_storage_glusterfs/tasks/glusterfs_deploy.yml') diff --git a/roles/openshift_storage_glusterfs/tasks/glusterfs_deploy.yml b/roles/openshift_storage_glusterfs/tasks/glusterfs_deploy.yml index 8c3e31fc9..932d06038 100644 --- a/roles/openshift_storage_glusterfs/tasks/glusterfs_deploy.yml +++ b/roles/openshift_storage_glusterfs/tasks/glusterfs_deploy.yml @@ -55,16 +55,6 @@ - glusterfs_wipe - item.stdout_lines | count > 0 -- name: Add service accounts to privileged SCC - oc_adm_policy_user: - user: "system:serviceaccount:{{ glusterfs_namespace }}:{{ item }}" - resource_kind: scc - resource_name: privileged - state: present - with_items: - - 'default' - - 'router' - - name: Label GlusterFS nodes oc_label: name: "{{ hostvars[item].openshift.node.nodename }}" -- cgit v1.2.3