Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deploy/kubernetes/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ BRANCH_VERSION=$(shell cut -d. -f1-2 <<< '${BEAT_VERSION}')

#variables needed for ci-create-kubernetes-templates-pull-request
ELASTIC_AGENT_REPO=kibana
ELASTIC_AGENT_REPO_PATH=x-pack/plugins/fleet/server/services/
ELASTIC_AGENT_REPO_PATH=x-pack/platform/plugins/shared/fleet/server/services/
FILE_REPO=elastic_agent_manifest.ts
ELASTIC_AGENT_BRANCH=update-k8s-templates-$(shell date "+%Y%m%d%H%M%S")
GITHUB_USERNAME?=elasticmachine
Expand Down
6 changes: 3 additions & 3 deletions deploy/kubernetes/creator_k8s_manifest.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
####
# Bash Script that creates the needed https://github.com/elastic/kibana/blob/main/x-pack/plugins/fleet/server/services/elastic_agent_manifest.ts
####
# Bash Script that creates the needed https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/fleet/server/services/elastic_agent_manifest.ts
# The script takes as an argument the path of elastic-agent manifests
# Eg. ./creator_k8s_manifest.sh deploy/kubernetes
####
Expand Down Expand Up @@ -57,4 +57,4 @@ sed -i -e 's/elastic-agent\/templates.d/elastic-agent-standalone\/templates.d/g'
#Remove ES_HOST entry from file
sed -i -e '/# The Elasticsearch host to communicate with/d' $OUTPUT_FILE
sed -i -e '/ES_HOST/d' $OUTPUT_FILE
sed -i -e '/value: ""/d' $OUTPUT_FILE
sed -i -e '/value: ""/d' $OUTPUT_FILE