Skip to content

Commit

Permalink
Merge branch 'main' into bump/go1.23
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Feb 13, 2025
2 parents 01d0cd3 + 37be67f commit d9b5558
Show file tree
Hide file tree
Showing 81 changed files with 4,420 additions and 1,895 deletions.
29 changes: 19 additions & 10 deletions .buildkite/bk.integration.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,11 @@ steps:
matrix:
- default
- fleet
- fleet-endpoint-security
- fleet-privileged
- standalone-upgrade
- upgrade
- install-uninstall

- label: "Win2022:non-sudo:{{matrix}}"
command: |
Expand Down Expand Up @@ -91,15 +94,18 @@ steps:
image: "family/platform-ingest-elastic-agent-ubuntu-2404"
matrix:
- default
- container
- fleet-upgrade-to-pr-build
- upgrade
- standalone-upgrade
- fleet
- fqdn
- deb
- fleet-endpoint-security
- fleet-airgapped
- fleet-privileged
- fleet-airgapped-privileged
- fleet-privileged
- fleet-upgrade-to-pr-build
- install-uninstall
- fqdn
- deb
- container

- label: "arm:sudo: {{matrix}}"
skip: true
Expand All @@ -115,15 +121,18 @@ steps:
instanceType: "m6g.2xlarge"
matrix:
- default
- container
- fleet-upgrade-to-pr-build
- upgrade
- standalone-upgrade
- fleet
- fqdn
- deb
- fleet-endpoint-security
- fleet-airgapped
- fleet-privileged
- fleet-airgapped-privileged
- fleet-privileged
- fleet-upgrade-to-pr-build
- install-uninstall
- fqdn
- deb
- container

- label: "arm:non-sudo: {{matrix}}"
skip: true
Expand Down
1 change: 1 addition & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ steps:
- dev-tools/
- pkg/
- deploy/
- test_infra/
- testing/
- version/
- specs/
Expand Down
9 changes: 0 additions & 9 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,9 @@ updates:
- automation
- skip-changelog
- Team:Elastic-Agent-Control-Plane
groups:
otel-dependencies:
exclude-patterns:
- "github.com/elastic/*"
update-types:
- "minor"
- "patch"
allow:
# Only update internal dependencies for now while we evaluate this workflow.
- dependency-name: "github.com/elastic/*"
- dependency-name: "go.opentelemetry.io/collector/*"
- dependency-name: "github.com/open-telemetry/opentelemetry-collector-contrib/*"
- dependency-name: "github.com/elastic/opentelemetry-collector-components/*"
ignore:
- dependency-name: "github.com/elastic/beats/*"
Expand Down
1,464 changes: 1,064 additions & 400 deletions NOTICE.txt

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions catalog-info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,15 @@ spec:
name: elastic-agent
description: Buildkite pipeline for the Elastic Agent project
spec:
branch_configuration: "main 7.* 8.* 9.* v7.* v8.* v9.*"
branch_configuration: "main 7.* 8.* 9.*"
repository: elastic/elastic-agent
pipeline_file: ".buildkite/pipeline.yml"
provider_settings:
build_pull_request_forks: false
build_pull_requests: true
build_tags: true
build_tags: false
filter_enabled: true
# TODO: what's the reason for this filter?
filter_condition: >-
build.pull_request.id == null || (build.creator.name == 'elasticmachine' && build.pull_request.id != null)
schedules:
Expand Down Expand Up @@ -216,7 +217,7 @@ spec:
name: elastic-agent-binary-dra
description: Buildkite pipeline for packaging Elastic Agent core binary and publish it to DRA
spec:
branch_configuration: "main 7.* 8.* 9.* v7.* v8.* v9.*"
branch_configuration: "main 7.* 8.* 9.*"
pipeline_file: ".buildkite/pipeline.elastic-agent-binary-dra.yml"
provider_settings:
build_pull_request_forks: false
Expand All @@ -225,6 +226,7 @@ spec:
build_tags: false
build_branches: true # enable build for branches. This relies on the filter in .buildkite/pipeline.elastic-agent-binary-dra.yml
filter_enabled: true
# TODO: what's the reason for this filter?
filter_condition: >-
build.pull_request.id == null || (build.creator.name == 'elasticmachine' && build.pull_request.id != null)
repository: elastic/elastic-agent
Expand Down Expand Up @@ -311,6 +313,7 @@ spec:
build_tags: false
build_branches: false
filter_enabled: true
# TODO: what's the reason for this filter?
filter_condition: >-
build.pull_request.id == null || (build.creator.name == 'elasticmachine' && build.pull_request.id != null)
repository: elastic/elastic-agent
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Kind can be one of:
# - breaking-change: a change to previously-documented behavior
# - deprecation: functionality that is being removed in a later release
# - bug-fix: fixes a problem in a previous version
# - enhancement: extends functionality but does not break or fix existing behavior
# - feature: new functionality
# - known-issue: problems that we are aware of in a given version
# - security: impacts on the security of a product or a user’s deployment.
# - upgrade: important information for someone upgrading from a prior version
# - other: does not fit into any of the other categories
kind: bug-fix

# Change summary; a 80ish characters long description of the change.
summary: Fix logical race conditions in kubernetes_secrets provider

# Long description; in case the summary is not enough to describe the change
# this field accommodate a description without length limits.
# NOTE: This field will be rendered only for breaking-change and known-issue kinds at the moment.
#description:

# Affected component; usually one of "elastic-agent", "fleet-server", "filebeat", "metricbeat", "auditbeat", "all", etc.
component: elastic-agent

# PR URL; optional; the PR number that added the changeset.
# If not present is automatically filled by the tooling finding the PR where this changelog fragment has been added.
# NOTE: the tooling supports backports, so it's able to fill the original PR number instead of the backport PR number.
# Please provide it if you are adding a fragment for a different PR.
pr: https://github.com/elastic/elastic-agent/pull/6623

# Issue URL; optional; the GitHub issue related to this changeset (either closes or is part of).
# If not present is automatically filled by the tooling with the issue linked to the PR number.
issue: https://github.com/elastic/elastic-agent/issues/6340
32 changes: 32 additions & 0 deletions changelog/fragments/1738617834-Upgrade-to-Go-1.22.11..yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Kind can be one of:
# - breaking-change: a change to previously-documented behavior
# - deprecation: functionality that is being removed in a later release
# - bug-fix: fixes a problem in a previous version
# - enhancement: extends functionality but does not break or fix existing behavior
# - feature: new functionality
# - known-issue: problems that we are aware of in a given version
# - security: impacts on the security of a product or a user’s deployment.
# - upgrade: important information for someone upgrading from a prior version
# - other: does not fit into any of the other categories
kind: security

# Change summary; a 80ish characters long description of the change.
summary: Upgrade to Go 1.22.12.

# Long description; in case the summary is not enough to describe the change
# this field accommodate a description without length limits.
# NOTE: This field will be rendered only for breaking-change and known-issue kinds at the moment.
#description:

# Affected component; usually one of "elastic-agent", "fleet-server", "filebeat", "metricbeat", "auditbeat", "all", etc.
component: "elastic-agent"

# PR URL; optional; the PR number that added the changeset.
# If not present is automatically filled by the tooling finding the PR where this changelog fragment has been added.
# NOTE: the tooling supports backports, so it's able to fill the original PR number instead of the backport PR number.
# Please provide it if you are adding a fragment for a different PR.
pr: https://github.com/elastic/elastic-agent/pull/6700

# Issue URL; optional; the GitHub issue related to this changeset (either closes or is part of).
# If not present is automatically filled by the tooling with the issue linked to the PR number.
#issue: https://github.com/owner/repo/1234
32 changes: 32 additions & 0 deletions changelog/fragments/1738752554-update-otel-v0.119.0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Kind can be one of:
# - breaking-change: a change to previously-documented behavior
# - deprecation: functionality that is being removed in a later release
# - bug-fix: fixes a problem in a previous version
# - enhancement: extends functionality but does not break or fix existing behavior
# - feature: new functionality
# - known-issue: problems that we are aware of in a given version
# - security: impacts on the security of a product or a user’s deployment.
# - upgrade: important information for someone upgrading from a prior version
# - other: does not fit into any of the other categories
kind: enhancement

# Change summary; a 80ish characters long description of the change.
summary: Update OTel components to v0.119.0

# Long description; in case the summary is not enough to describe the change
# this field accommodate a description without length limits.
# NOTE: This field will be rendered only for breaking-change and known-issue kinds at the moment.
#description:

# Affected component; usually one of "elastic-agent", "fleet-server", "filebeat", "metricbeat", "auditbeat", "all", etc.
component: elastic-agent

# PR URL; optional; the PR number that added the changeset.
# If not present is automatically filled by the tooling finding the PR where this changelog fragment has been added.
# NOTE: the tooling supports backports, so it's able to fill the original PR number instead of the backport PR number.
# Please provide it if you are adding a fragment for a different PR.
#pr: https://github.com/owner/repo/1234

# Issue URL; optional; the GitHub issue related to this changeset (either closes or is part of).
# If not present is automatically filled by the tooling with the issue linked to the PR number.
#issue: https://github.com/owner/repo/1234
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Kind can be one of:
# - breaking-change: a change to previously-documented behavior
# - deprecation: functionality that is being removed in a later release
# - bug-fix: fixes a problem in a previous version
# - enhancement: extends functionality but does not break or fix existing behavior
# - feature: new functionality
# - known-issue: problems that we are aware of in a given version
# - security: impacts on the security of a product or a user’s deployment.
# - upgrade: important information for someone upgrading from a prior version
# - other: does not fit into any of the other categories
kind: feature

# Change summary; a 80ish characters long description of the change.
summary: Add --id and --replace-token to enrollment

# Long description; in case the summary is not enough to describe the change
# this field accommodate a description without length limits.
# NOTE: This field will be rendered only for breaking-change and known-issue kinds at the moment.
description: |
Add support for --id and --replace-token to the install and enroll command. Add support for ELASTIC_AGENT_ID
and FLEET_REPLACE_TOKEN to the container support the same behavior as the enroll command. Allows the ability to
define a specific ID to use for the Elastic Agent when enrolling into Fleet. The replace-token defines the token
that must be used to re-enroll an Elastic Agent with the same ID as a replacement of the previous Elastic Agent.
# Affected component; usually one of "elastic-agent", "fleet-server", "filebeat", "metricbeat", "auditbeat", "all", etc.
component:

# PR URL; optional; the PR number that added the changeset.
# If not present is automatically filled by the tooling finding the PR where this changelog fragment has been added.
# NOTE: the tooling supports backports, so it's able to fill the original PR number instead of the backport PR number.
# Please provide it if you are adding a fragment for a different PR.
pr: https://github.com/elastic/elastic-agent/pull/6498

# Issue URL; optional; the GitHub issue related to this changeset (either closes or is part of).
# If not present is automatically filled by the tooling with the issue linked to the PR number.
issue: https://github.com/elastic/elastic-agent/issues/6361
2 changes: 1 addition & 1 deletion deploy/helm/edot-collector/kube-stack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ crds:
create: true # Install the OpenTelemetry Operator CRDs.
defaultCRConfig:
image:
repository: "docker.elastic.co/beats/elastic-agent"
repository: "docker.elastic.co/elastic-agent/elastic-agent"
tag: "9.1.0"
targetAllocator:
enabled: false # Enable/disable the Operator's Target allocator.
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/elastic-agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ The chart built-in [kubernetes integration](https://docs.elastic.co/integrations
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| agent.version | string | `"9.0.0"` | elastic-agent version |
| agent.image | object | `{"pullPolicy":"IfNotPresent","repository":"docker.elastic.co/beats/elastic-agent","tag":"9.0.0-SNAPSHOT"}` | image configuration |
| agent.image | object | `{"pullPolicy":"IfNotPresent","repository":"docker.elastic.co/elastic-agent/elastic-agent","tag":"9.0.0-SNAPSHOT"}` | image configuration |
| agent.imagePullSecrets | list | `[]` | image pull secrets |
| agent.engine | string | `"k8s"` | generate kubernetes manifests or [ECK](https://github.com/elastic/cloud-on-k8s) CRDs |
| agent.unprivileged | bool | `false` | enable unprivileged mode |
Expand Down
4 changes: 2 additions & 2 deletions deploy/helm/elastic-agent/examples/eck/rendered/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -993,7 +993,7 @@ spec:
value: /usr/share/elastic-agent/state
- name: ELASTIC_NETINFO
value: "false"
image: docker.elastic.co/beats/elastic-agent:9.1.0-SNAPSHOT
image: docker.elastic.co/elastic-agent/elastic-agent:9.1.0-SNAPSHOT
imagePullPolicy: IfNotPresent
name: agent
resources:
Expand Down Expand Up @@ -1072,7 +1072,7 @@ spec:
value: /usr/share/elastic-agent/state
- name: ELASTIC_NETINFO
value: "false"
image: docker.elastic.co/beats/elastic-agent:9.1.0-SNAPSHOT
image: docker.elastic.co/elastic-agent/elastic-agent:9.1.0-SNAPSHOT
imagePullPolicy: IfNotPresent
name: agent
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ spec:
value: "false"
- name: FLEET_ENROLL
value: "1"
image: docker.elastic.co/beats/elastic-agent:9.1.0-SNAPSHOT
image: docker.elastic.co/elastic-agent/elastic-agent:9.1.0-SNAPSHOT
imagePullPolicy: IfNotPresent
name: agent
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ spec:
value: "false"
- name: FLEET_ENROLL
value: "1"
image: docker.elastic.co/beats/elastic-agent:9.1.0-SNAPSHOT
image: docker.elastic.co/elastic-agent/elastic-agent:9.1.0-SNAPSHOT
imagePullPolicy: IfNotPresent
name: agent
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,7 @@ spec:
value: /usr/share/elastic-agent/state
- name: ELASTIC_NETINFO
value: "false"
image: docker.elastic.co/beats/elastic-agent:9.1.0-SNAPSHOT
image: docker.elastic.co/elastic-agent/elastic-agent:9.1.0-SNAPSHOT
imagePullPolicy: IfNotPresent
name: agent
resources:
Expand Down Expand Up @@ -1090,7 +1090,7 @@ spec:
value: /usr/share/elastic-agent/state
- name: ELASTIC_NETINFO
value: "false"
image: docker.elastic.co/beats/elastic-agent:9.1.0-SNAPSHOT
image: docker.elastic.co/elastic-agent/elastic-agent:9.1.0-SNAPSHOT
imagePullPolicy: IfNotPresent
name: agent
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ spec:
value: /usr/share/elastic-agent/state
- name: ELASTIC_NETINFO
value: "false"
image: docker.elastic.co/beats/elastic-agent:9.1.0-SNAPSHOT
image: docker.elastic.co/elastic-agent/elastic-agent:9.1.0-SNAPSHOT
imagePullPolicy: IfNotPresent
name: agent
resources:
Expand Down Expand Up @@ -1093,7 +1093,7 @@ spec:
value: /usr/share/elastic-agent/state
- name: ELASTIC_NETINFO
value: "false"
image: docker.elastic.co/beats/elastic-agent:9.1.0-SNAPSHOT
image: docker.elastic.co/elastic-agent/elastic-agent:9.1.0-SNAPSHOT
imagePullPolicy: IfNotPresent
name: agent
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ spec:
secretKeyRef:
key: api_key
name: es-api-secret
image: docker.elastic.co/beats/elastic-agent:9.1.0-SNAPSHOT
image: docker.elastic.co/elastic-agent/elastic-agent:9.1.0-SNAPSHOT
imagePullPolicy: IfNotPresent
name: agent
resources:
Expand Down Expand Up @@ -1086,7 +1086,7 @@ spec:
secretKeyRef:
key: api_key
name: es-api-secret
image: docker.elastic.co/beats/elastic-agent:9.1.0-SNAPSHOT
image: docker.elastic.co/elastic-agent/elastic-agent:9.1.0-SNAPSHOT
imagePullPolicy: IfNotPresent
name: agent
resources:
Expand Down Expand Up @@ -1250,7 +1250,7 @@ spec:
secretKeyRef:
key: api_key
name: es-api-secret
image: docker.elastic.co/beats/elastic-agent:9.1.0-SNAPSHOT
image: docker.elastic.co/elastic-agent/elastic-agent:9.1.0-SNAPSHOT
imagePullPolicy: IfNotPresent
name: agent
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ spec:
value: /usr/share/elastic-agent/state
- name: ELASTIC_NETINFO
value: "false"
image: docker.elastic.co/beats/elastic-agent:9.1.0-SNAPSHOT
image: docker.elastic.co/elastic-agent/elastic-agent:9.1.0-SNAPSHOT
imagePullPolicy: IfNotPresent
name: agent
resources:
Expand Down
Loading

0 comments on commit d9b5558

Please sign in to comment.