/csb-brokerpak-azure

Primary LanguageHCLApache License 2.0Apache-2.0

Azure Brokerpak

A brokerpak for the Cloud Service Broker that provides support for Azure services.

Development Requirements

  • Docker - tooling provided as docker images
  • make - covers development lifecycle steps

A docker container for the cloud service broker binary is available at cfplatformeng/csb

Azure account information

To provision services, the brokerpak currently requires Azure account values. The brokerpak expects them in environment variables:

  • ARM_SUBSCRIPTION_ID
  • ARM_TENANT_ID
  • ARM_CLIENT_ID
  • ARM_CLIENT_SECRET

Development Tools

A Makefile supports the full local development lifecycle for the brokerpak.

  • make will build the brokerpak
  • make run runs the brokerpak locally
  • make docs will generate markdown documentation from brokerpak
  • make run-examples will run example provision, bind, unbind, deprovision against broker started with make run

There is a make target to push the broker and brokerpak into a CloudFoundry foundation. It will be necessary to manually configure a few items for the broker to work.

  • make push-broker will cf push the broker into CloudFoundry. Requires the cf cli to be installed.

The broker gets pushed into CloudFoundry as cloud-service-broker-azure It will be necessary to bind a MySQL database to the broker to provide broker state storage. See Azure Installation docs for more info.