This is a cache of https://docs.openshift.com/container-platform/4.3/applications/service_brokers/provisioning-template-application.html. It is a snapshot of the page at 2024-11-23T02:05:37.244+0000.
Provisioning template applications - <strong>service</strong> brokers | Applications | OpenShift Container Platform 4.3
×

Provisioning template applications

The following procedure provisions an example PostgreSQL template application that was made available by the Template service Broker.

Prerequisites
  • The service catalog is installed.

  • The Template service Broker is installed.

Procedure
  1. Create a project.

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

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

  2. Create a service instance.

    1. Navigate to the CatalogDeveloper Catalog page.

    2. Select the PostgreSQL (Ephemeral) template application 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 postgresql-ephemeral 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 postgresql-ephemeral with the message "The instance was provisioned successfully".

  3. Create a service binding.

    1. From the Provisioned services page, click postgresql-ephemeral 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 postgresql-ephemeral was created.

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