Skip to content

Commit 64ef7ee

Browse files
Merge branch '8.17' into update-version-next-8.17.10
# Conflicts: # .buildkite/bk.integration.pipeline.yml
2 parents 6f200fb + 508d871 commit 64ef7ee

File tree

121 files changed

+17727
-19778
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

121 files changed

+17727
-19778
lines changed

.buildkite/bk.integration.pipeline.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ env:
66

77
# The following images are defined here and their values will be updated by updatecli
88
# Please do not change them manually.
9-
IMAGE_UBUNTU_2404_X86_64: "platform-ingest-elastic-agent-ubuntu-2404-1752282044"
10-
IMAGE_UBUNTU_2404_ARM_64: "platform-ingest-elastic-agent-ubuntu-2404-aarch64-1752282044"
11-
IMAGE_RHEL_8: "platform-ingest-elastic-agent-rhel-8-1752282044"
12-
IMAGE_DEBIAN_12: "platform-ingest-elastic-agent-debian-12-1752282044"
13-
IMAGE_WIN_2022: "platform-ingest-elastic-agent-windows-2022-1752282044"
14-
IMAGE_WIN_2025: "platform-ingest-elastic-agent-windows-2025-1752282044"
9+
IMAGE_UBUNTU_2404_X86_64: "platform-ingest-elastic-agent-ubuntu-2404-1752886846"
10+
IMAGE_UBUNTU_2404_ARM_64: "platform-ingest-elastic-agent-ubuntu-2404-aarch64-1752886846"
11+
IMAGE_RHEL_8: "platform-ingest-elastic-agent-rhel-8-1752886846"
12+
IMAGE_DEBIAN_12: "platform-ingest-elastic-agent-debian-12-1752886846"
13+
IMAGE_WIN_2022: "platform-ingest-elastic-agent-windows-2022-1752886846"
14+
IMAGE_WIN_2025: "platform-ingest-elastic-agent-windows-2025-1752886846"
1515
# Remove AGENT_VERSION pinning once 8.17.10 DRA and stack are released
1616
AGENT_VERSION: "8.17.9-SNAPSHOT"
1717

.buildkite/pipeline.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ env:
55

66
# The following images are defined here and their values will be updated by updatecli
77
# Please do not change them manually.
8-
IMAGE_UBUNTU_2204_X86_64: "platform-ingest-elastic-agent-ubuntu-2204-1752282044"
9-
IMAGE_UBUNTU_2204_ARM_64: "platform-ingest-elastic-agent-ubuntu-2204-aarch64-1752282044"
10-
IMAGE_WIN_2016: "platform-ingest-elastic-agent-windows-2016-1752282044"
11-
IMAGE_WIN_2022: "platform-ingest-elastic-agent-windows-2022-1752282044"
12-
IMAGE_WIN_10: "platform-ingest-elastic-agent-windows-10-1752282044"
13-
IMAGE_WIN_11: "platform-ingest-elastic-agent-windows-11-1752282044"
8+
IMAGE_UBUNTU_2204_X86_64: "platform-ingest-elastic-agent-ubuntu-2204-1752886846"
9+
IMAGE_UBUNTU_2204_ARM_64: "platform-ingest-elastic-agent-ubuntu-2204-aarch64-1752886846"
10+
IMAGE_WIN_2016: "platform-ingest-elastic-agent-windows-2016-1752886846"
11+
IMAGE_WIN_2022: "platform-ingest-elastic-agent-windows-2022-1752886846"
12+
IMAGE_WIN_10: "platform-ingest-elastic-agent-windows-10-1752886846"
13+
IMAGE_WIN_11: "platform-ingest-elastic-agent-windows-11-1752886846"
1414

1515
steps:
1616
- label: "check-ci"

internal/pkg/agent/cmd/upgrade_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func TestUpgradeCmd(t *testing.T) {
7575
require.Eventually(t, func() bool {
7676
counter := atomic.LoadInt32(&mock.upgrades)
7777
return counter > 0
78-
}, 5*time.Second, 100*time.Millisecond)
78+
}, 30*time.Second, 100*time.Millisecond)
7979

8080
// then we close the tcp server which is supposed to interrupt the connection
8181
s.Stop()

testing/integration/k8s/k8s.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ package k8s
77
import "path/filepath"
88

99
const (
10-
KubeStackChartVersion = "0.3.9"
10+
KubeStackChartVersion = "0.6.3"
1111
KubeStackChartName = "opentelemetry-kube-stack"
1212
KubeStackChartNameWithVersion = KubeStackChartName + "-" + KubeStackChartVersion
1313
KubeStackChartArchiveName = KubeStackChartNameWithVersion + ".tgz"

testing/integration/k8s/testdata/opentelemetry-kube-stack/.helmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@
2121
.idea/
2222
*.tmproj
2323
.vscode/
24+
examples/
Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
dependencies:
2-
- name: crds
2+
- name: otel-crds
3+
repository: ""
4+
version: 0.0.0
5+
- name: prometheus-crds
36
repository: ""
47
version: 0.0.0
58
- name: opentelemetry-operator
69
repository: https://open-telemetry.github.io/opentelemetry-helm-charts
7-
version: 0.71.1
10+
version: 0.91.0
811
- name: kube-state-metrics
912
repository: https://prometheus-community.github.io/helm-charts
1013
version: 5.21.0
1114
- name: prometheus-node-exporter
1215
repository: https://prometheus-community.github.io/helm-charts
1316
version: 4.37.3
14-
digest: sha256:ff56967acb909bc46ee586a1034ab7f8969dec606a43c48989a5bad7e4791424
15-
generated: "2024-10-21T15:34:58.29871407+02:00"
17+
digest: sha256:6bdd281bcc9df8f34dc4d553974a4ceeb9b967e10933648eecbed4f7b32570a1
18+
generated: "2025-07-14T12:56:09.098151354+02:00"

testing/integration/k8s/testdata/opentelemetry-kube-stack/Chart.yaml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
apiVersion: v2
2-
appVersion: 0.107.0
2+
appVersion: 0.127.0
33
dependencies:
4-
- condition: crds.install
5-
name: crds
4+
- condition: crds.install,crds.installOtel
5+
name: otel-crds
6+
repository: ""
7+
version: 0.0.0
8+
- condition: crds.install,crds.installPrometheus
9+
name: prometheus-crds
610
repository: ""
711
version: 0.0.0
812
- condition: opentelemetry-operator.enabled
913
name: opentelemetry-operator
1014
repository: https://open-telemetry.github.io/opentelemetry-helm-charts
11-
version: 0.71.1
15+
version: 0.91.0
1216
- condition: kubeStateMetrics.enabled
1317
name: kube-state-metrics
1418
repository: https://prometheus-community.github.io/helm-charts
@@ -30,4 +34,4 @@ name: opentelemetry-kube-stack
3034
sources:
3135
- https://github.com/open-telemetry/opentelemetry-operator
3236
type: application
33-
version: 0.3.9
37+
version: 0.6.3

testing/integration/k8s/testdata/opentelemetry-kube-stack/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ bridge.image.tag: 0.103.0
4545

4646
### scrape_configs_file Details
4747

48+
> [!NOTE]
49+
> This parameter only works when running the helm chart locally. When installing the helm chart using the remote repository it is not possible to include "external" scrape config files into the helm structure. This is also true when the chart is used as a subchart, and the scrape config files exists in the parent chart. Ref. [helm docs](https://helm.sh/docs/chart_template_guide/accessing_files/)
50+
4851
By default, the daemonset collector will load in the daemon_scrape_configs.yaml file which collects prometheus metrics from applications on the same node that have the prometheus.io/scrape=true annotation, kubernetes node metrics, and cadvisor metrics. Users can disable this by settings collectors.daemon.scrape_configs_file: "" OR they can provide their own promethues scrape config file for the daemonset by supplying collectors.daemon.scrape_configs_file: "<your-file>.yaml"
4952

5053
## Prerequisites
@@ -144,4 +147,4 @@ The following command will show all the configurable options with detailed comme
144147
$ helm show values open-telemetry/opentelemetry-kube-stack
145148
```
146149

147-
When using this chart as a subchart, you may want to unset certain default values. Since Helm v3.13 values handling is improved and null can now consistently be used to remove values (e.g. to remove the default CPU limits).
150+
When using this chart as a subchart, you may want to unset certain default values. Since Helm v3.13 values handling is improved and null can now consistently be used to remove values (e.g. to remove the default CPU limits).

testing/integration/k8s/testdata/opentelemetry-kube-stack/charts/opentelemetry-operator/.helmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
# Various IDEs
2020
.project
2121
.idea/
22+
examples/
2223
*.tmproj
2324
.vscode/
2425
# Release related files

testing/integration/k8s/testdata/opentelemetry-kube-stack/charts/opentelemetry-operator/CONTRIBUTING.md

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,23 @@
33
## Bumping Default Operator Version
44

55
1. Increase the minor version of the chart by one and set the patch version to zero.
6-
1. Update the chart's `appVersion` to match the new operator version.
7-
1. In the values.yaml, update `manager.collectorImage.tag` to match the version of the collector managed by default by the operator.
8-
1. Run `make generate-examples CHARTS=opentelemetry-operator`.
9-
1. Run `make update-operator-crds` to update the CRDs in this chart to match the operator's.
10-
1. Review the [Operator release notes](https://github.com/open-telemetry/opentelemetry-operator/releases). If any changes affect the helm chart, adjust the helm chart accordingly.
6+
2. Update the chart's `appVersion` to match the new operator version.
7+
3. In the values.yaml, update `manager.collectorImage.tag` to match the version of the collector managed by default by the operator.
8+
4. Run `make update-operator-crds` to update the CRDs in this chart to match the operator's.
9+
5. Run `make generate-examples CHARTS=opentelemetry-operator`.
10+
6. Review the [Operator release notes](https://github.com/open-telemetry/opentelemetry-operator/releases). If any changes affect the helm chart, adjust the helm chart accordingly.
11+
12+
### sed on Mac OS X
13+
14+
If you're performing the above steps on Mac OS X, you may need to install `gnu-sed` via Homebrew
15+
as the pre-installed `sed` version has some incompatible differences:
16+
17+
```sh
18+
brew install gnu-sed
19+
```
20+
21+
Then, you can use it for make instead of the system's `sed`:
22+
23+
```sh
24+
PATH="$(brew --prefix)/opt/gnu-sed/libexec/gnubin:$PATH" make ...
25+
```

0 commit comments

Comments
 (0)