Closed imukadam closed 5 years ago
Hi @imukadam !
You can use properties for Elasticsearch configuration with current implementation of erb templates.
Just nil existing elasticsearch
link and specify configuration in properties block:
name: cf-kibana
release: logsearch-for-cloudfoundry
consumes:
elasticsearch: nil
properties:
cf-kibana:
elasticsearch:
host: elasticsearch.example.com
port: 9200
If everything looks good, go ahead and close the PR.
thanks for putting me straight @Infra-Red! Closing.
This will allow the overwriting of the elasticsearch host and port properties for the cf-kibana job if specified in the deployment manifest. The job will use the link if the properties is not specified as is the case now.
Example: a deployment can specify a DNS CNAME that points to all elasticsearch host and oprator can use this CNAME for the cf-kibana.elasticsearch.host property