<div dir="ltr">Hi,<div><br></div><div>The creation of the serviceInstance resource from a clusterServiceClass is very easy using python apb client - <a href="https://goo.gl/zwWPJz">https://goo.gl/zwWPJz</a> but how do you achieve this goal with the Ansible Service Broker like also to create the serviceBinding resource ?</div><div><br></div><div>Why such questions ?</div><div><br></div><div>I would like to replace these files created manually here :</div><div><br></div><div>- ServiceBinding : <a href="https://github.com/cmoulliard/spring-boot-jpa-rest/blob/master/openshift/mysql-secret_servicebinding.yml">https://github.com/cmoulliard/spring-boot-jpa-rest/blob/master/openshift/mysql-secret_servicebinding.yml</a></div><div>- ServiceInstance : <a href="https://github.com/cmoulliard/spring-boot-jpa-rest/blob/master/openshift/mysql_serviceinstance.yml">https://github.com/cmoulliard/spring-boot-jpa-rest/blob/master/openshift/mysql_serviceinstance.yml</a></div><div><br></div><div>and executed using these oc commands </div><div><br></div><div>oc create -f openshift/mysql_serviceinstance.yml<br></div><div>oc create -f openshift/mysql-secret_servicebinding.yml<br></div><div>oc env --from=secret/spring-boot-notes-mysql-binding dc/spring-boot-db-notes</div><div><br></div><div>with new commands where by example, we will create the serviceInstance using </div><div><br></div><div> "oc create-service <mysql_clusterServiceClass> <mysql_service_instance> <params> <plan>" </div><div><br></div><div>Next bind the Service to a DeploymentConfig using maybe the following command</div><div><br></div><div>"oc bind-service <mysql_service_instance> <mysql_deploymentconfig></div><div><br></div><div>Regards,</div><div><br></div><div>Charles<br><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px"><div></div></div></div></div></div></div></div></div></div></div>
</div></div>