Provide A new list Of runtime config overrides for the BOSH Director
This endpoint will replace the currently configured runtime config overrides for the BOSH Director. These overrides will be merged into the BOSH Director runtime configs. No validation is done on the value provided in the data key, other than checking that the data payload is a hash.
The following runtime configs can have overrides applied to their listed addons:
ops_manager_dns_runtime
bosh-dns
: This deploys the bosh-dns job to all Linux VMs created by BOSH which provides DNS resolution to other BOSH deployed VMs.bosh-dns-windows
: This deploys the bosh-dns-windows job to all Windows VMs created by BOSH which provides DNS resolution to other BOSH deployed VMs.
ops_manager_system_metrics_runtime
system_metrics_agent
: This deploys the system_metrics_agent job to all Linux VMs created by BOSH which provides VM system metrics via a prometheus-scrapable endpoint.system_metrics_agent_windows
: This deploys the system_metrics_agent_windows job to all Windows VMs created by BOSH which provides VM system metrics via a prometheus-scrapable endpoint.
Given the following overrides:
{
"overrides": [
{
"runtime_config_name": "ops_manager_dns_runtime",
"addon_name": "bosh-dns",
"data": {
"log_level": "ERROR"
}
}
]
}
This will result in the following runtime config:
name: ops_manager_dns_runtime
manifest:
addons:
- name: bosh-dns
jobs:
- release: bosh-dns
name: bosh-dns
properties:
log_level: ERROR
... # existing properties
{
"overrides": [
{
"section": "string",
"data": {}
}
]
}
A list of overrides that will be applied to the BOSH Director manifest.
Overrides will be applied in order, so the last override will be applied last.
0K
Forbidden
UnprocessableEntity
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/api/v0/staged/director/runtime_configs/overrides