×

Provisioning service bundles

The following procedure provisions an example PostgreSQL service bundle (APB) that was made available by the OpenShift Ansible Broker.

Prerequisites
  • The service catalog is installed.

  • The OpenShift Ansible Broker is installed.

Procedure
  1. Create a project.

    1. Navigate in the web console to HomeProjects and click Create Project.

    2. Enter test-postgresql-apb in the Name field and click Create.

  2. Create a service instance.

    1. Navigate to the CatalogDeveloper Catalog page.

    2. Select the PostgreSQL (APB) service bundle and click Create Service Instance.

    3. Review the default selections and set any other required fields, and click Create.

    4. Go to CatalogProvisioned Services and verify that the dh-postgresql-apb service instance is created and has a status of Ready.

      You can check the progress on the HomeEvents page. After a few moments, you should see an event for dh-postgresql-apb with the message "The instance was provisioned successfully".

  3. Create a service binding.

    1. From the Provisioned Services page, click dh-postgresql-apb and click Create Service Binding.

    2. Review the default service binding name and click Create.

      This creates a new secret for binding using the name provided.

  4. Review the secret that was created.

    1. Navigate to WorkloadsSecrets and verify that a secret named dh-postgresql-apb was created.

    2. Click dh-postgresql-apb and review the key-value pairs in the Data section, which are used for binding to other apps.