fix(elk): update Elasticsearch service reference in jobspec
This commit is contained in:
parent
9776ac0228
commit
13e605f5ca
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ job "elk" {
|
||||||
data = <<-EOF
|
data = <<-EOF
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
hosts:
|
hosts:
|
||||||
{{ range service "elk-node-elasticsearch-transport" }}
|
{{ range service "elk-node-elasticsearch-http" }}
|
||||||
- https://{{ .Address }}:{{ .Port }}
|
- https://{{ .Address }}:{{ .Port }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
username: ${ELASTICSEARCH_USERNAME}
|
username: ${ELASTICSEARCH_USERNAME}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue