Revert "feat(elk): add elastic-connectors task to job specification"
This reverts commit b0f4309f510878322dc5513394df276977f40e7f.
This commit is contained in:
parent
67925c60cb
commit
db35c2c1fc
1 changed files with 0 additions and 46 deletions
|
@ -167,52 +167,6 @@ job "elk" {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
group "connectors" {
|
|
||||||
|
|
||||||
network {
|
|
||||||
mode = "bridge"
|
|
||||||
}
|
|
||||||
|
|
||||||
task "elastic-connectors" {
|
|
||||||
driver = "docker"
|
|
||||||
|
|
||||||
config {
|
|
||||||
image = "docker.elastic.co/integrations/elastic-connectors:${var.elastic_version}"
|
|
||||||
|
|
||||||
command = "/app/bin/elastic-ingest"
|
|
||||||
args = ["-c", "/config/config.yml"]
|
|
||||||
|
|
||||||
mount {
|
|
||||||
type = "bind"
|
|
||||||
source = "local/config.yml"
|
|
||||||
target = "/config/config.yml"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
resources {
|
|
||||||
cpu = 500
|
|
||||||
memory = 512
|
|
||||||
}
|
|
||||||
|
|
||||||
template {
|
|
||||||
data = <<-EOF
|
|
||||||
{{with nomadVar "nomad/jobs/elk/connectors/elastic-connectors" }}
|
|
||||||
connectors:
|
|
||||||
- connector_id: "PDlTypMBJHtNrm356nUt"
|
|
||||||
service_type: "postgresql"
|
|
||||||
api_key: "{{.api_key}}"
|
|
||||||
elasticsearch:
|
|
||||||
host: "https://hestia.lan:9200"
|
|
||||||
verify_certs: false
|
|
||||||
api_key: "{{.api_key}}"
|
|
||||||
{{end}}
|
|
||||||
EOF
|
|
||||||
|
|
||||||
destination = "local/config.yml"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
group "kibana" {
|
group "kibana" {
|
||||||
|
|
||||||
count = 2
|
count = 2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue