-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Bug Fixes] * Fix issue with log-cache hostname from upstream template. This also necessitated adding log-cache from the cf deployment to the bosh-dns-aliases as log-cache.service.cf.internal Added log-cache to bosh-dns-aliases if using log-cache
- Loading branch information
1 parent
775daec
commit 666ffd4
Showing
2 changed files
with
38 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,31 @@ | ||
- type: replace | ||
path: /instance_groups/name=asmetrics/jobs/name=eventgenerator/properties/autoscaler/eventgenerator/metricscollector/use_log_cache? | ||
value: true | ||
|
||
- type: replace | ||
path: /instance_groups/name=asmetrics/jobs/name=eventgenerator/properties/autoscaler/eventgenerator/metricscollector/host | ||
value: logcache | ||
|
||
- type: replace | ||
path: /instance_groups/name=asmetrics/jobs/name=eventgenerator/properties/autoscaler/eventgenerator/metricscollector/port | ||
value: 8080 | ||
|
||
- type: replace | ||
path: /instance_groups/name=asmetrics/jobs/name=eventgenerator/properties/autoscaler/eventgenerator/metricscollector/ca_cert | ||
value: (( concat "((" meta.cf.credhub_path "log_cache.ca))" )) | ||
- type: replace | ||
path: /instance_groups/name=asmetrics/jobs/name=eventgenerator/properties/autoscaler/eventgenerator/metricscollector/client_cert | ||
value: (( concat "((" meta.cf.credhub_path "log_cache.certificate))" )) | ||
|
||
- type: replace | ||
path: /instance_groups/name=asmetrics/jobs/name=eventgenerator/properties/autoscaler/eventgenerator/metricscollector/client_key | ||
value: (( concat "((" meta.cf.credhub_path "log_cache.private_key))" )) | ||
|
||
--- | ||
instance_groups: | ||
- name: asmetrics | ||
jobs: | ||
- name: eventgenerator | ||
properties: | ||
autoscaler: | ||
eventgenerator: | ||
metricscollector: | ||
use_log_cache: true | ||
host: log-cache.service.cf.internal | ||
port: 8080 | ||
ca_cert: (( concat "((" meta.cf.credhub_path "log_cache.ca))" )) | ||
client_cert: (( concat "((" meta.cf.credhub_path "log_cache.certificate))" )) | ||
client_key: (( concat "((" meta.cf.credhub_path "log_cache.private_key))" )) | ||
|
||
addons: | ||
- name: bosh-dns-aliases | ||
jobs: | ||
- name: bosh-dns-aliases | ||
properties: | ||
aliases: | ||
- (( merge on domain)) | ||
- domain: log-cache.service.cf.internal | ||
targets: | ||
- (( merge on query )) | ||
- query: "*" | ||
deployment: (( grab meta.cf.deployment_name )) | ||
network: (( grab params.cf_core_network )) | ||
domain: bosh | ||
instance_group: log-cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters