This repository has been archived by the owner on Dec 18, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 38
adding services to ansible broker.adoc
Paul Wright edited this page Apr 10, 2018
·
1 revision
-
OpenShift Origin >= 3.7
-
OpenShift Ansible Broker
oc edit configmap broker-config -n ansible-service-broker
Add the following to the registry
array:
registry:
- type: "dockerhub"
name: "aerogearcatalog"
url: "https://registry.hub.docker.com"
org: "aerogearcatalog"
tag: "latest"
white_list:
- ".*-apb$"
Note
|
The name must be different for each registry entry.
|
Trigger a rollout to force a redeploy.
oc rollout latest asb -n ansible-service-broker
Verify the ASB Pod is running before continuing
oc get po -l app=ansible-service-broker
For this step, the apb
tool is used. This can be installed on your system, or used from a docker image.
See https://github.com/ansibleplaybookbundle/ansible-playbook-bundle/blob/master/docs/apb_cli.md#installing-the-apb-tool for information on installing it.
Then run this command:
apb relist
Alternatively, if using the docker image, run:
docker run --rm --privileged -v $HOME/.kube:/.kube -v /var/run/docker.sock:/var/run/docker.sock -u 1000 docker.io/ansibleplaybookbundle/apb-tools:latest relist
Note
|
You will need to be logged into your OpenShift cluster with a user who has the necessary permissions to relist the catalog. The cluster-admin role should have all necessary permissions.
|
=