[Ansible-service-broker] How can I customize the catalog displayed ?

Craig Brookes cbrookes at redhat.com
Tue Jan 30 09:35:55 UTC 2018


The UI [1] calls out to the service-catalog [2] which is a k8s extension
api server. The catalog aggregates the different broker services into a
single list of ClusterServiceClasses which the UI then renders.

[1] https://github.com/openshift/origin-web-catalog
[2] https://github.com/kubernetes-incubator/service-catalog/



On Tue, Jan 30, 2018 at 9:07 AM, Charles Moulliard <cmoullia at redhat.com>
wrote:

> Many thanks.
>
> Do you how how the UI screen is able to know which Service or Template
> should be presented within the screen [1] ?
>
> [1] https://www.dropbox.com/s/29aqb2obgc8b46r/catalog.png?dl=0
>
>
> On Tue, Jan 30, 2018 at 9:57 AM, Craig Brookes <cbrookes at redhat.com>
> wrote:
>
>> Hi Charles,
>>
>> I am not familiar with that template, but will give you my answers to the
>> list of questions:
>>
>> - Where is this list of Services declared ?
>>
>> At startup, the ASB looks at a docker registry for images with a
>> specified name for example: *-apb. It then reads meta data about this image
>> provided as a labels[1]
>> This information forms the basis for the ClusterServiceClass consumed by
>> the service catalog.
>>
>> - Can we customize it to crate its list of services ?
>>
>> Yes you can change the config map set in the ansible-service-broker
>> namespace and redeploy. More info on the config can be found at [2].
>>
>> - What are the prereq needed to follow in order to add / create a new
>> service available from the openshift UI ?
>>
>> You will need to create at least 1 APB and you will need to change the
>> configuration to point at a docker registry with the apb docker image.
>> There is tooling and docs around APBs to help you do this at [3]
>>
>>
>> Craig Brookes
>>
>>
>> [1]https://hub.docker.com/r/aerogearcatalog/aerogear-digger-
>> apb/~/dockerfile/
>> [2] https://github.com/openshift/ansible-service-broker/
>> blob/master/docs/config.md
>> [3] https://github.com/ansibleplaybookbundle/ansible-playbook-bundle
>>
>>
>> On Tue, Jan 30, 2018 at 7:12 AM, Charles Moulliard <cmoullia at redhat.com>
>> wrote:
>>
>>> Hi,
>>>
>>> When ASB is deployed on openshift using this template [1], then a list
>>> of predefined services will be uploaded and next can be used from the
>>> openshift UI
>>>
>>> - Where is this list of Services declared ?
>>> - Can we customize it to crate its list of services ?
>>> - What are the prereq needed to follow in order to add / create a new
>>> service available from the openshift UI ?
>>>
>>> [1] https://goo.gl/1kUWcr
>>>
>>> Regards
>>>
>>> Charles
>>>
>>> _______________________________________________
>>> Ansible-service-broker mailing list
>>> Ansible-service-broker at redhat.com
>>> https://www.redhat.com/mailman/listinfo/ansible-service-broker
>>>
>>>
>>
>>
>> --
>> Craig Brookes
>> RHMAP
>> @maleck13 Github
>>
>
>


-- 
Craig Brookes
RHMAP
@maleck13 Github
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/ansible-service-broker/attachments/20180130/cdcbafda/attachment.htm>


More information about the Ansible-service-broker mailing list