Skip to content

registry job from bosh/270.1.1

Github source: 058b71b or master branch

Properties

aws

access_key_id

AWS IAM Access Key ID

credentials_source

AWS credentials source

Default
static

ec2_endpoint

The service endpoint for Amazon EC2 (optional, if not supplied default region endpoint will be used)

elb_endpoint

The service endpoint for Amazon Elastic Load Balancing (optional, if not supplied default region endpoint will be used)

max_retries

Max number of retries to connect to AWS

Default
2

region

AWS EC2 Region

secret_access_key

AWS IAM Secret Access Key

ssl_ca_file

The path to a CA cert bundle in PEM format

ssl_ca_path

The path the a CA cert directory

ssl_verify_peer

When true the HTTP handler validate server certificates for HTTPS requests

env

http_proxy

HTTP proxy that the registry should use

https_proxy

HTTPS proxy that the registry should use

no_proxy

List of comma-separated hosts that should skip connecting to the proxy in the registry

openstack

api_key

OpenStack API key

auth_url

URL of the OpenStack Identity endpoint to connect to

connection_options

Hash containing optional connection parameters to the OpenStack API

domain

OpenStack domain (required for Keystone API version 3)

endpoint_type

OpenStack endpoint type (optional, by default publicURL)

Default
publicURL

project

OpenStack project name (required for Keystone API version 3)

region

OpenStack region (optional)

tenant

OpenStack tenant name (required for Keystone API version 2)

username

OpenStack user name

registry

additional_users

An array of objects with keys ‘username’ and ‘password’ clients must use to access Registry via HTTP Basic Auth These users are in addition to the user defined by ‘registry.username’/‘registry.password’ This is to enable registry credential rotation

db

adapter

The type of database used

Default
postgres
connection_options

Additional options for the database

Default
  max_connections: 32
  pool_timeout: 10
database

Name of the registry database

Default
bosh_registry
host

Address of the registry database

Default
127.0.0.1
password

Password used for the registry database

port

Port of the registry database

Default
5432
tls
cert
ca

Database CA certificate

certificate

Client certificate for mutual TLS connections to DB

private_key

Client private key for mutual TLS connections to DB

enabled

Flag for enabling tls for database

Default
false
user

Username used for the registry database

Default
bosh

password

Password clients must use to access Registry via HTTP Basic Auth

port

TCP port Registry daemon listens on

Default
25777

username

Username clients must use to access Registry via HTTP Basic Auth

Templates

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

  • bin/bosh-registry (from bosh-registry)
  • bin/pre-start (from pre-start.erb)
  • bin/registry (from registry)
  • config/bpm.yml (from bpm.yml)
  • config/cacert.pem (from cacert.pem.erb)
  • config/db/ca.pem (from db_ca.pem.erb)
  • config/db/client_certificate.pem (from db_client_certificate.pem.erb)
  • config/db/client_private_key.key (from db_client_private_key.key.erb)
  • config/registry.yml (from registry.yml.erb)

Packages

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