From d054fd0524af380975f79da9a6987f3679fc3737 Mon Sep 17 00:00:00 2001 From: elasticmachine <infra-root+elasticmachine@elastic.co> Date: Fri, 19 Apr 2024 00:13:41 +0000 Subject: [PATCH 1/2] [Automated PR] Publish kubernetes templates for elastic-agent --- .../plugins/fleet/server/services/elastic_agent_manifest.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/x-pack/plugins/fleet/server/services/elastic_agent_manifest.ts b/x-pack/plugins/fleet/server/services/elastic_agent_manifest.ts index 829b72070cf89..652c484af6a76 100644 --- a/x-pack/plugins/fleet/server/services/elastic_agent_manifest.ts +++ b/x-pack/plugins/fleet/server/services/elastic_agent_manifest.ts @@ -4,7 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ - + export const elasticAgentStandaloneManifest = `--- # For more information refer https://www.elastic.co/guide/en/fleet/current/running-on-kubernetes-standalone.html apiVersion: apps/v1 @@ -42,7 +42,7 @@ spec: # - -c # - >- # mkdir -p /etc/elastic-agent/inputs.d && - # wget -O - https://github.com/elastic/elastic-agent/archive/8.14.tar.gz | tar xz -C /etc/elastic-agent/inputs.d --strip=5 "elastic-agent-8.14/deploy/kubernetes/elastic-agent/templates.d" + # wget -O - https://github.com/elastic/elastic-agent/archive/8.15.tar.gz | tar xz -C /etc/elastic-agent/inputs.d --strip=5 "elastic-agent-8.15/deploy/kubernetes/elastic-agent/templates.d" # volumeMounts: # - name: external-inputs # mountPath: /etc/elastic-agent/inputs.d @@ -646,4 +646,4 @@ metadata: labels: k8s-app: elastic-agent --- -`; +`; \ No newline at end of file From 0d20a2954a453c4e60ca1f61d7c4c7ef9fe5f947 Mon Sep 17 00:00:00 2001 From: Andreas Gkizas <andreas.gkizas@elastic.co> Date: Tue, 23 Apr 2024 11:29:18 +0300 Subject: [PATCH 2/2] fixing space/newline manually --- .../plugins/fleet/server/services/elastic_agent_manifest.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/fleet/server/services/elastic_agent_manifest.ts b/x-pack/plugins/fleet/server/services/elastic_agent_manifest.ts index 652c484af6a76..912bc637120be 100644 --- a/x-pack/plugins/fleet/server/services/elastic_agent_manifest.ts +++ b/x-pack/plugins/fleet/server/services/elastic_agent_manifest.ts @@ -4,7 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ - + export const elasticAgentStandaloneManifest = `--- # For more information refer https://www.elastic.co/guide/en/fleet/current/running-on-kubernetes-standalone.html apiVersion: apps/v1 @@ -646,4 +646,4 @@ metadata: labels: k8s-app: elastic-agent --- -`; \ No newline at end of file +`;