From db35c2c1fce451bf971390f874f1efdea56128a2 Mon Sep 17 00:00:00 2001 From: Ben Martin Date: Sun, 15 Dec 2024 23:29:36 +0000 Subject: [PATCH] Revert "feat(elk): add elastic-connectors task to job specification" This reverts commit b0f4309f510878322dc5513394df276977f40e7f. --- modules/elk/jobspec.nomad.hcl | 46 ----------------------------------- 1 file changed, 46 deletions(-) diff --git a/modules/elk/jobspec.nomad.hcl b/modules/elk/jobspec.nomad.hcl index 7fd8e40..ab82c51 100644 --- a/modules/elk/jobspec.nomad.hcl +++ b/modules/elk/jobspec.nomad.hcl @@ -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" { count = 2