Skip to content

broker-registrar job from cf-mysql/29

Github source: c69bdeac or master branch

Properties

cf

admin_password

Password of the admin user

admin_username

Username of the admin user

api_url

Full URL of Cloud Foundry API

Example
https://api.your-domain.example.com

skip_ssl_validation

Skip SSL validation when connecting to Cloud Foundry API

Default
false

cf_mysql

broker

auth_password

Basic Auth password for the service broker

auth_username

Basic Auth username for the service broker

port

Port for the service broker

Default
443
protocol

Protocol (http/https) provided to the Cloud Controller when registering/deregistering the broker

Default
https
services

Array of services, each service contains the list of plans the broker of that service provides. Note - the broker-registrar errand only registers the first service

Example
|+
  - name: REPLACE-WITH-SERVICE-NAME
    plans:
    - name: 100mb
      id: REPLACE-WITH-A-UNIQUE-GUID
      description: Shared MySQL Server
      max_storage_mb: 100
      max_user_connections: 20
    - name: 1gb
      id: REPLACE-WITH-A-UNIQUE-GUID
      description: Shared MySQL Server
      max_storage_mb: 1000
      max_user_connections: 40

external_host

Host address of the service broker

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/broker-registrar/ directory (learn more).

  • bin/run (from errand.sh.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.