This involves: * adding aerogear registry to ansible-service-broker's config map: {noformat} - type: dockerhub name: ag url: https://registry.hub.docker.com org: aerogearcatalog tag: latest white_list: - '.*-apb$' black_list: - '.*-app-apb$' {noformat} * changing 'sandbox_role' (under 'openshift') in the above config map from 'edit' to 'admin' * changing 'launch_apb_on_bind' (under 'broker') in the above config map from 'false' to 'true' * manually redeploying ansible-service-broker * creating 'mobileclients' crd [1]: {noformat} oc create -f deploy/crd.yaml {noformat} * creating 'mobileclient-admin' cluster-role: {noformat} oc create clusterrole mobileclient-admin --verb=create,delete,get,list,patch,update,watch --resource=mobileclients oc adm policy add-cluster-role-to-group mobileclient-admin system:authenticated {noformat} * adding 'asb-access' and 'cluster-admin' cluster-roles to 'admin' user who will use mobile.next : {noformat} oc adm policy add-cluster-role-to-user asb-access developer admin oc adm policy add-cluster-role-to-user cluster-admin developer admin {noformat}
[1] https://github.com/aerogear/mobile-developer-console/blob/master/deploy/crd.yaml |
|