Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

fix: update stack deployment to follow Users&Roles best practices #2064

Merged
merged 56 commits into from
Feb 7, 2022
Merged
Changes from 5 commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
dbf4132
bump stack version 8.1.0-aa69d697
Jan 25, 2022
dd004a0
fix: use new kibana roles and users
mdelapenya Jan 27, 2022
ba5d9f8
feat: add a method for checking ES cluster health
mdelapenya Jan 27, 2022
5254105
fix: create fleet-server after getting a service token from elasticse…
mdelapenya Jan 27, 2022
4f1ace2
fix: start stack using Fleet's test suite code
mdelapenya Jan 27, 2022
ad786f5
fix: typo
mdelapenya Jan 27, 2022
019f166
fix: selective execution of the .env for fleet suite
mdelapenya Jan 28, 2022
7608d4b
chore: try 'not in'
mdelapenya Jan 28, 2022
42239f0
chore: use AND conditionals as a list
mdelapenya Jan 28, 2022
f146866
fix: check for stckRunner to be defined
mdelapenya Jan 28, 2022
15b819d
fix: pass stackRunner var to the stack creation
mdelapenya Jan 28, 2022
2a56928
fix: check for suite is defined first
mdelapenya Jan 28, 2022
ad87b88
fix: check for suite var
mdelapenya Jan 28, 2022
5cffc9f
Merge branch 'main' into fix-fleet-server-tokens
mdelapenya Jan 28, 2022
e60bbb4
chore: use multiline for when condirtionals
mdelapenya Jan 28, 2022
0c7d9b7
fix docker install
adam-stokes Jan 28, 2022
6dd4774
fix suite definition for autodiscover
adam-stokes Jan 28, 2022
f90337f
add kubectl to path
adam-stokes Jan 28, 2022
2f4d8aa
Merge branch 'main' into fix-fleet-server-tokens
mdelapenya Jan 31, 2022
1278d32
chore: bump elastic-agent versions to 8.1.hashed snapshot
mdelapenya Jan 31, 2022
f27c854
Merge branch 'main' into fix-fleet-server-tokens
mdelapenya Jan 31, 2022
7d9dea3
fix: use docker provider for APM integration
mdelapenya Jan 31, 2022
306551c
chore: add client alive SSH settings
mdelapenya Feb 1, 2022
b162c97
Revert "chore: add client alive SSH settings"
mdelapenya Feb 1, 2022
3650387
chore: define SSHD server settings for runners
mdelapenya Feb 1, 2022
3a5ad4f
chore: skip ubi8 scenarios
mdelapenya Feb 1, 2022
181404a
fix: transform response from bytes to string
mdelapenya Feb 1, 2022
5a64322
fix: properly read Input Streams and Vars
mdelapenya Feb 1, 2022
ca5d4f3
Merge branch 'main' into fix-fleet-server-tokens
adam-stokes Feb 1, 2022
da1b80d
fix: expose port for 0.0.0.0
mdelapenya Feb 1, 2022
b396c84
fix: streams could go empty
mdelapenya Feb 1, 2022
c2b6ea9
fix: expose port for 0.0.0.0
mdelapenya Feb 1, 2022
0e21736
fix: support checking for process count in containers
mdelapenya Feb 1, 2022
51d57e1
chore: unskip apm-server on ubi8
mdelapenya Feb 1, 2022
05639d2
chore: always install docker on runners
mdelapenya Feb 1, 2022
9ce12f1
chore: bump elastic-package to v0.36.0
mdelapenya Feb 2, 2022
c6c29ac
chore: use elastic-package for apm-server scenarios
mdelapenya Feb 2, 2022
b5896a8
chore: use elastic-package for apm-server scenarios
mdelapenya Feb 2, 2022
cb4d70a
Revert "chore: use elastic-package for apm-server scenarios"
mdelapenya Feb 2, 2022
b15b947
Revert "chore: use elastic-package for apm-server scenarios"
mdelapenya Feb 2, 2022
fd32a98
chore: run dockerised tests only on debian
mdelapenya Feb 2, 2022
57d5ee9
chore: do not print out tar extract command
mdelapenya Feb 2, 2022
e8e98e1
fix: keep a Docker deployer for docker-based tests
mdelapenya Feb 2, 2022
20e5330
fix: install docker for ARM
mdelapenya Feb 2, 2022
de618d8
fix: remove invalid role vars for ARM
mdelapenya Feb 2, 2022
2e689b4
fix: install python-pip on ARM first
mdelapenya Feb 2, 2022
ecad653
fix: install docker on ARM properly
mdelapenya Feb 3, 2022
96f262c
fix: install docker on Suse
mdelapenya Feb 3, 2022
6d0187d
fix: typo
mdelapenya Feb 3, 2022
4b384e9
Fix error checking for revoked enroll token
adam-stokes Feb 3, 2022
c0f7c6c
fix logging
adam-stokes Feb 3, 2022
f43683e
chore: use empty streams if error
mdelapenya Feb 3, 2022
49f64e6
fix: pass fleet-server policy to fleet-server on bootstrap
mdelapenya Feb 4, 2022
be2e305
fix: retrieve default fleet-server policy instead of creating a new one
mdelapenya Feb 4, 2022
34eedbe
chore: restart services with restart command
mdelapenya Feb 4, 2022
fc29242
chore: increase expire timeout of the service token to the max (1h)
mdelapenya Feb 7, 2022
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
4 changes: 2 additions & 2 deletions .ci/Jenkinsfile
Original file line number Diff line number Diff line change
@@ -48,12 +48,12 @@ pipeline {
booleanParam(name: "notifyOnGreenBuilds", defaultValue: false, description: "If it's needed to notify to Slack with green builds.")
string(name: 'SLACK_CHANNEL', defaultValue: 'observablt-bots', description: 'The Slack channel(s) where errors will be posted. For multiple channels, use a comma-separated list of channels')
string(name: 'ELASTIC_AGENT_DOWNLOAD_URL', defaultValue: '', description: 'If present, it will override the download URL for the Elastic agent artifact. (I.e. https://snapshots.elastic.co/8.0.0-59098054/downloads/beats/elastic-agent/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz')
string(name: 'BEAT_VERSION', defaultValue: '8.1.0-dbc834fd-SNAPSHOT', description: 'SemVer version of the Beat to be used for the tests. You can use here the tag of your PR to test your changes')
string(name: 'BEAT_VERSION', defaultValue: '8.1.0-aa69d697-SNAPSHOT', description: 'SemVer version of the Beat to be used for the tests. You can use here the tag of your PR to test your changes')
string(name: 'ELASTIC_AGENT_STALE_VERSION', defaultValue: '7.17-SNAPSHOT', description: 'SemVer version of the stale stand-alone elastic-agent to be used for Fleet upgrade tests.')
choice(name: 'LOG_LEVEL', choices: ['DEBUG', 'TRACE', 'INFO'], description: 'Log level to be used')
choice(name: 'TIMEOUT_FACTOR', choices: ['5', '3', '7', '11'], description: 'Max number of minutes for timeout backoff strategies')
string(name: 'KIBANA_VERSION', defaultValue: '', description: 'Docker tag of the kibana to be used for the tests. It will refer to an image related to a Kibana PR, under the Observability-CI namespace')
string(name: 'STACK_VERSION', defaultValue: '8.1.0-dbc834fd-SNAPSHOT', description: 'SemVer version of the stack to be used for the tests.')
string(name: 'STACK_VERSION', defaultValue: '8.1.0-aa69d697-SNAPSHOT', description: 'SemVer version of the stack to be used for the tests.')
string(name: 'HELM_CHART_VERSION', defaultValue: '7.11.2', description: 'SemVer version of Helm chart to be used.')
string(name: 'HELM_VERSION', defaultValue: '3.5.2', description: 'SemVer version of Helm to be used.')
string(name: 'KIND_VERSION', defaultValue: '0.10.0', description: 'SemVer version of Kind to be used.')
18 changes: 12 additions & 6 deletions .ci/ansible/playbook.yml
Original file line number Diff line number Diff line change
@@ -65,26 +65,32 @@
tags:
- setup-stack

- name: Configure test script
include_tasks: tasks/setup_test_script.yml
tags:
- setup-stack

- name: Add SSH keys to stack
include_tasks: tasks/install_ssh_keys.yml
tags:
- setup-stack

- name: Configure stack files
ansible.builtin.replace:
path: "/home/{{ ansible_user }}/e2e-testing/cli/config/compose/profiles/fleet/default/kibana.config.yml"
path: '{{ item.path }}'
regexp: '{{ item.old }}'
replace: '{{ item.new }}'
loop:
- { old: 'http://elasticsearch', new: 'http://{{ inventory_hostname }}' }
- { old: 'http://fleet-server', new: 'http://{{ inventory_hostname }}' }
- { old: 'http://package-registry:8080', new: 'https://epr-staging.elastic.co' }
- { old: 'http://elasticsearch', new: 'http://{{ inventory_hostname }}', path: "/home/{{ ansible_user }}/e2e-testing/cli/config/compose/profiles/fleet/default/kibana.config.yml" }
- { old: 'http://fleet-server', new: 'http://{{ inventory_hostname }}', path: "/home/{{ ansible_user }}/e2e-testing/cli/config/compose/profiles/fleet/default/kibana.config.yml" }
- { old: 'http://kibana', new: 'http://{{ inventory_hostname }}', path: "/home/{{ ansible_user }}/e2e-testing/cli/config/compose/services/elastic-agent/fleet-server/docker-compose.yml" }
- { old: 'http://package-registry:8080', new: 'https://epr-staging.elastic.co', path: "/home/{{ ansible_user }}/e2e-testing/cli/config/compose/profiles/fleet/default/kibana.config.yml" }
tags:
- setup-stack

- name: Start stack
- name: Start stack without any tag to spin up the stack using Fleet's bootstrapping code
become: true
shell: docker-compose -f /home/{{ansible_user}}/e2e-testing/cli/config/compose/profiles/fleet/docker-compose.yml up -d
shell: "/home/{{ ansible_user }}/e2e-testing/.ci/scripts/functional-test.sh 'non-existing-tag'"
tags:
- setup-stack

14 changes: 14 additions & 0 deletions .ci/ansible/tasks/setup_test_script.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
---
- name: Extend environment for Stack Bootstrapping
lineinfile:
state: present
line: "{{ itemd }}"
mdelapenya marked this conversation as resolved.
Show resolved Hide resolved
insertafter: EOF
dest: "/home/{{ ansible_user }}/e2e-testing/.env"
create: yes
with_items:
- "export SUITE=fleet"
- "export PROVIDER=docker"
- "export DEVELOPER_MODE=true"
- "export SKIP_PULL=1"
when: "'stack' == nodeLabel"

- name: Extend environment for Fleet testing
lineinfile:
state: present
2 changes: 1 addition & 1 deletion .stack-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8.1.0-dbc834fd-SNAPSHOT
8.1.0-aa69d697-SNAPSHOT
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ server.host: "0.0.0.0"
telemetry.enabled: false

elasticsearch.hosts: [ "http://elasticsearch:9200" ]
elasticsearch.username: elastic
elasticsearch.username: admin
elasticsearch.password: changeme
xpack.monitoring.ui.container.elasticsearch.enabled: true

31 changes: 8 additions & 23 deletions cli/config/compose/profiles/fleet/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -14,12 +14,17 @@ services:
- xpack.license.self_generated.type=trial
- xpack.security.enabled=true
- xpack.security.authc.api_key.enabled=true
- ELASTIC_USERNAME=elastic
- xpack.security.authc.token.enabled=true
- ELASTIC_USERNAME=admin
- ELASTIC_PASSWORD=changeme
image: "docker.elastic.co/elasticsearch/elasticsearch:${stackVersion:-8.1.0-dbc834fd-SNAPSHOT}"
image: "docker.elastic.co/elasticsearch/elasticsearch:${stackVersion:-8.1.0-aa69d697-SNAPSHOT}"
platform: ${stackPlatform:-linux/amd64}
ports:
- "9200:9200"
volumes:
- ./elasticsearch-roles.yml:/usr/share/elasticsearch/config/roles.yml
- ./elasticsearch-users:/usr/share/elasticsearch/config/users
- ./elasticsearch-users_roles:/usr/share/elasticsearch/config/users_roles
kibana:
depends_on:
elasticsearch:
@@ -28,29 +33,9 @@ services:
test: "curl -f http://localhost:5601/login | grep kbn-injected-metadata 2>&1 >/dev/null"
retries: 600
interval: 1s
image: "docker.elastic.co/${kibanaDockerNamespace:-kibana}/kibana:${kibanaVersion:-8.1.0-dbc834fd-SNAPSHOT}"
image: "docker.elastic.co/${kibanaDockerNamespace:-kibana}/kibana:${kibanaVersion:-8.1.0-aa69d697-SNAPSHOT}"
platform: ${stackPlatform:-linux/amd64}
ports:
- "5601:5601"
volumes:
- ./${kibanaProfile:-default}/kibana.config.yml:/usr/share/kibana/config/kibana.yml
fleet-server:
image: "docker.elastic.co/beats/elastic-agent-complete:${stackVersion:-8.1.0-dbc834fd-SNAPSHOT}"
depends_on:
elasticsearch:
condition: service_healthy
kibana:
condition: service_healthy
ports:
- "8220:8220"
healthcheck:
test: "curl -f http://127.0.0.1:8220/api/status | grep HEALTHY 2>&1 >/dev/null"
retries: 12
interval: 5s
environment:
- "FLEET_SERVER_ENABLE=1"
- "FLEET_SERVER_INSECURE_HTTP=1"
- "KIBANA_FLEET_SETUP=1"
- "KIBANA_FLEET_HOST=http://kibana:5601"
- "FLEET_SERVER_HOST=0.0.0.0"
- "FLEET_SERVER_PORT=8220"
34 changes: 34 additions & 0 deletions cli/config/compose/profiles/fleet/elasticsearch-roles.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
apm_server:
cluster: ['manage_ilm', 'manage_security', 'manage_api_key']
indices:
- names: ['apm-*', 'logs-apm*', 'metrics-apm*', 'traces-apm*']
privileges: ['write', 'create_index', 'manage', 'manage_ilm']
applications:
- application: 'apm'
privileges: ['sourcemap:write', 'event:write', 'config_agent:read']
resources: '*'
beats:
cluster: ['manage_index_templates', 'monitor', 'manage_ingest_pipelines', 'manage_ilm', 'manage_security', 'manage_api_key']
indices:
- names: ['filebeat-*', 'shrink-filebeat-*']
privileges: ['all']
filebeat:
cluster: ['manage_index_templates', 'monitor', 'manage_ingest_pipelines', 'manage_ilm']
indices:
- names: ['filebeat-*', 'shrink-filebeat-*']
privileges: ['all']
heartbeat:
cluster: ['manage_index_templates', 'monitor', 'manage_ingest_pipelines', 'manage_ilm']
indices:
- names: ['heartbeat-*', 'shrink-heartbeat-*']
privileges: ['all']
metricbeat:
cluster: ['manage_index_templates', 'monitor', 'manage_ingest_pipelines', 'manage_ilm']
indices:
- names: ['metricbeat-*', 'shrink-metricbeat-*']
privileges: ['all']
opbeans:
indices:
- names: ['opbeans-*']
privileges: ['write', 'read']
9 changes: 9 additions & 0 deletions cli/config/compose/profiles/fleet/elasticsearch-users
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
admin:$2a$10$xiY0ZzOKmDDN1p3if4t4muUBwh2.bFHADoMRAWQgSClm4ZJ4132Y.
apm_server_user:$2a$10$iTy29qZaCSVn4FXlIjertuO8YfYVLCbvoUAJ3idaXfLRclg9GXdGG
apm_user_ro:$2a$10$hQfy2o2u33SapUClsx8NCuRMpQyHP9b2l4t3QqrBA.5xXN2S.nT4u
beats_user:$2a$10$LRpKi4/Q3Qo4oIbiu26rH.FNIL4aOH4aj2Kwi58FkMo1z9FgJONn2
filebeat_user:$2a$10$sFxIEX8tKyOYgsbJLbUhTup76ssvSD3L4T0H6Raaxg4ewuNr.lUFC
heartbeat_user:$2a$10$nKUGDr/V5ClfliglJhfy8.oEkjrDtklGQfhd9r9NoFqQeoNxr7uUK
kibana_system_user:$2a$10$nN6sRtQl2KX9Gn8kV/.NpOLSk6Jwn8TehEDnZ7aaAgzyl/dy5PYzW
metricbeat_user:$2a$10$5PyTd121U2ZXnFk9NyqxPuLxdptKbB8nK5egt6M5/4xrKUkk.GReG
opbeans_user:$2a$10$iTy29qZaCSVn4FXlIjertuO8YfYVLCbvoUAJ3idaXfLRclg9GXdGG
13 changes: 13 additions & 0 deletions cli/config/compose/profiles/fleet/elasticsearch-users_roles
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apm_server:apm_server_user
apm_system:apm_server_user
apm_user:apm_server_user,apm_user_ro
beats:beats_user
beats_system:beats_user,filebeat_user,heartbeat_user,metricbeat_user
filebeat:filebeat_user
heartbeat:heartbeat_user
ingest_admin:apm_server_user
kibana_system:admin,kibana_system_user
kibana_user:apm_server_user,apm_user_ro,beats_user,filebeat_user,heartbeat_user,metricbeat_user,opbeans_user
metricbeat:metricbeat_user
opbeans:opbeans_user
superuser:admin
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ server.host: "0.0.0.0"
telemetry.enabled: false

elasticsearch.hosts: [ "http://elasticsearch:9200" ]
elasticsearch.username: elastic
elasticsearch.username: admin
elasticsearch.password: changeme
xpack.monitoring.ui.container.elasticsearch.enabled: true

2 changes: 1 addition & 1 deletion cli/config/compose/profiles/metricbeat/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ services:
- xpack.monitoring.collection.enabled=true
- ELASTIC_USERNAME=elastic
- ELASTIC_PASSWORD=changeme
image: "docker.elastic.co/elasticsearch/elasticsearch:${stackVersion:-8.1.0-dbc834fd-SNAPSHOT}"
image: "docker.elastic.co/elasticsearch/elasticsearch:${stackVersion:-8.1.0-aa69d697-SNAPSHOT}"
platform: ${stackPlatform:-linux/amd64}
ports:
- "9200:9200"
2 changes: 2 additions & 0 deletions cli/config/compose/services/elastic-agent/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -8,6 +8,8 @@ services:
kibana:
condition: service_healthy
environment:
- "ELASTICSEARCH_USERNAME=admin"
- "ELASTICSEARCH_PASSWORD=changeme"
- "FLEET_SERVER_ENABLE=${fleetServerMode:-0}"
- "FLEET_SERVER_INSECURE_HTTP=${fleetServerMode:-0}"
- "FLEET_ENROLL=${fleetEnroll:-1}"
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
version: '2.4'
services:
fleet-server:
image: "docker.elastic.co/${elasticAgentDockerNamespace:-beats}/elastic-agent${elasticAgentDockerImageSuffix}:${elasticAgentTag:-8.0.0-SNAPSHOT}"
depends_on:
elasticsearch:
condition: service_healthy
kibana:
condition: service_healthy
environment:
- "ELASTICSEARCH_USERNAME=admin"
- "ELASTICSEARCH_PASSWORD=changeme"
- "FLEET_SERVER_ENABLE=${fleetServerMode:-0}"
- "FLEET_SERVER_HOST=0.0.0.0"
- "FLEET_SERVER_INSECURE_HTTP=${fleetServerMode:-0}"
- "FLEET_SERVER_PORT=${fleetServerPort:-8220}"
- "FLEET_SERVER_SERVICE_TOKEN=${fleetServerServiceToken:-}"
- "FLEET_ENROLL=${fleetEnroll:-1}"
- "FLEET_ENROLLMENT_TOKEN=${fleetEnrollmentToken:-}"
- "FLEET_INSECURE=${fleetInsecure:-0}"
- "FLEET_URL=${fleetUrl:-}"
- "KIBANA_FLEET_HOST=http://kibana:5601"
- "KIBANA_FLEET_SETUP=${fleetServerMode:-0}"
platform: ${stackPlatform:-linux/amd64}
ports:
- "127.0.0.1:${fleetServerPort:-8220}:8220"
mdelapenya marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 1 addition & 1 deletion cli/config/kubernetes/base/elasticsearch/deployment.yaml
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ spec:
spec:
containers:
- name: elasticsearch
image: docker.elastic.co/elasticsearch/elasticsearch:8.1.0-dbc834fd-SNAPSHOT
image: docker.elastic.co/elasticsearch/elasticsearch:8.1.0-aa69d697-SNAPSHOT
envFrom:
- configMapRef:
name: elasticsearch-config
2 changes: 1 addition & 1 deletion cli/config/kubernetes/base/fleet-server/deployment.yaml
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ spec:
spec:
containers:
- name: fleet-server
image: docker.elastic.co/beats/elastic-agent:8.1.0-dbc834fd-SNAPSHOT
image: docker.elastic.co/beats/elastic-agent:8.1.0-aa69d697-SNAPSHOT
env:
- name: FLEET_SERVER_ENABLE
value: "1"
2 changes: 1 addition & 1 deletion cli/config/kubernetes/base/kibana/deployment.yaml
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ spec:
spec:
containers:
- name: kibana
image: docker.elastic.co/kibana/kibana:8.1.0-dbc834fd-SNAPSHOT
image: docker.elastic.co/kibana/kibana:8.1.0-aa69d697-SNAPSHOT
env:
- name: ELASTICSEARCH_URL
value: http://elasticsearch:9200
36 changes: 36 additions & 0 deletions e2e/_suites/fleet/fleet.go
Original file line number Diff line number Diff line change
@@ -618,6 +618,13 @@ func bootstrapFleet(ctx context.Context, env map[string]string) error {
}).Fatal("Unable to create kibana client")
}

err = elasticsearch.WaitForClusterHealth(ctx)
if err != nil {
log.WithFields(log.Fields{
"error": err,
}).Fatal("Elasticsearch Cluster is not healthy")
}

err = kibanaClient.RecreateFleet(ctx)
if err != nil {
log.WithFields(log.Fields{
@@ -626,6 +633,35 @@ func bootstrapFleet(ctx context.Context, env map[string]string) error {
}).Fatal("Fleet could not be recreated")
}

serviceToken, err := elasticsearch.GetAPIToken(ctx)
if err != nil {
log.WithFields(log.Fields{
"error": err,
}).Fatal("Could not get API Token from Elasticsearch")
}

fleetServerEnv := make(map[string]string)
for k, v := range env {
fleetServerEnv[k] = v
}
fleetServerEnv["fleetServerMode"] = "1"
fleetServerEnv["fleetServerPort"] = "8220"
fleetServerEnv["fleetInsecure"] = "1"
fleetServerEnv["fleetServerServiceToken"] = serviceToken.AccessToken

fleetServerSrv := deploy.ServiceRequest{
Name: common.ElasticAgentServiceName,
Flavour: "fleet-server",
}

err = deployer.Add(ctx, deploy.NewServiceRequest(common.FleetProfileName), []deploy.ServiceRequest{fleetServerSrv}, fleetServerEnv)
if err != nil {
log.WithFields(log.Fields{
"error": err,
"env": fleetServerEnv,
}).Fatal("Fleet Server could not be started")
}

err = kibanaClient.WaitForFleet(ctx)
if err != nil {
log.WithFields(log.Fields{
2 changes: 1 addition & 1 deletion internal/common/defaults.go
Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@ const FleetServerAgentServiceName = "fleet-server"
var AgentStaleVersion = "7.17-SNAPSHOT"

// BeatVersionBase is the base version of the Beat to use
var BeatVersionBase = "8.1.0-dbc834fd-SNAPSHOT"
var BeatVersionBase = "8.1.0-aa69d697-SNAPSHOT"

// BeatVersion is the version of the Beat to use
// It can be overriden by BEAT_VERSION env var
Loading