Skip to content

nfsbroker job from nfs-volume/0.1.6

Github source: 04a69570 or master branch

Properties

nfsbroker

allowed-in-mount

Comma separated list of white-listed options that may be configured as supported in the mount_config options. If a non-white-listed option is received from a user as arbitrary params, then the broker will reject the user request.

Default
auto_cache
Example
allow_root,allow_other,nfs_uid,nfs_gid,auto_cache,fsname

allowed-in-source

Comma separated list of white-listed options that may be configured as supported in the mount_config.source URL query params. If a non-white-listed option is received from a user as arbitrary params, then the broker will reject the user request.

Default
uid,gid
Example
uid,gid

data_dir

(optional) Directory on broker VM to persist instance and binding state

Default
/var/vcap/store/nfsbroker

db_ca_cert

(optional) CA Cert to verify SSL connection, if not include, connection will be plain

Default
""

db_driver

(optional) database driver name when using SQL to store broker state

Default
""

db_hostname

(optional) database hostname when using SQL to store broker state

Default
""

db_name

(optional) database name when using SQL to store broker state

Default
""

db_password

(optional) database password when using SQL to store broker state

Default
""

db_port

(optional) database port when using SQL to store broker state

Default
""

db_username

(optional) database username when using SQL to store broker state

Default
""

default-in-mount

Comma separated list default values for options that may be configured in the mount_config options, formatted as ‘option:default’. If an option is not specified in the binding arbitrary params, or an option is specified but is not white-listed, then the specified default value will be applied.

Default
auto_cache:true
Example
allow_root:false,allow_other:false,nfs_uid:2000,nfs_gid:2000,auto_cache:false

default-in-source

Comma separated list of default values for options in the mount_config.source URL query params, formatted as ‘option:default’. If an option is not specified in the provisioning arbitrary params, or an option is specified but not white-listed, then the specified default value will be applied.

Default
""
Example
uid:1000,gid:1000

listen_addr

(optional) address nfsbroker listens on

Default
0.0.0.0:8999

password

Basic auth password to verify on incoming Service Broker requests

service_id

(optional) Id of the service to be registered with cf

Default
nfs-service-guid

service_name

(optional) name of the service to be registered with cf

Default
nfs

username

Basic auth username to verify on incoming Service Broker requests

Default
admin

Templates

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

  • bin/nfsbroker_ctl (from ctl.erb)

Packages

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