Open l0rd opened 6 years ago
After the discussions on https://github.com/openshift/openshift-ansible/issues/9231 we can conclude that we cannot get rid of a manual step when installing Che using the ansible service broker.
But rather than asking users to change the configuration of the ASB as indicated today in the README (that has an effect on the whole cluster) we should rather ask users to manually create the ServiceAccount
and RoleBinding
. That is something that can be done before or after the provisioning of the APB if we set ignore_errors: yes
for the RoleBinding creation step.
Summarizing this issue subtasks are:
ignore_errors: yes
for the RoleBinding creation steplatest
to make sure that we don't need to switch to the canary streamRoleBinding
Currently a manual step at cluster scope is required in order to have Che provisioned correctly: Ansible Service Broker should be configured with openshift
sandbox_role
set toadmin
.This makes Che installation harder and impossible in some cases.
To get rid of this manual step we could have OpenShift teams to default
sandbox_role
toadmin
. This is what this issue is about https://github.com/openshift/openshift-ansible/issues/9231If this won't work we should look at 1) why we need a
RoleBinding
withrole_ref_kind: ClusterRole
instead ofrole_ref_kind: Role
and 2) ifsandbox_role
set toedit
would be enough to create aRoleBindings
withrole_ref_kind: Role