Skip to content

[chore]: update all CI to helm 4+ - #2237

Merged
TylerHelmuth merged 4 commits into
open-telemetry:mainfrom
TylerHelmuth:generate-examples-extra-newlines
May 28, 2026
Merged

[chore]: update all CI to helm 4+#2237
TylerHelmuth merged 4 commits into
open-telemetry:mainfrom
TylerHelmuth:generate-examples-extra-newlines

Conversation

@TylerHelmuth

@TylerHelmuth TylerHelmuth commented May 28, 2026

Copy link
Copy Markdown
Member

Helm 3 and helm 4 render different, and it is causing problems in CI and when users render examples. This updates all CI to helm 4

@TylerHelmuth
TylerHelmuth marked this pull request as draft May 28, 2026 21:05
Helm 4 changed manifest rendering (it preserves trailing whitespace
before document separators and at EOF that Helm 3 stripped), so examples
regenerated with Helm 4 failed the Helm 3 check-examples job in CI.

- Pin every CI test matrix to Helm v4.0.3 only, and bump the release and
  update-chart-app-version workflows to v4.0.3.
- Extend the generate-examples/check-examples normalization to strip
  trailing whitespace before "---" separators and at EOF, keeping
  rendered output stable.
- Require Helm 4.0+ in CONTRIBUTING.

Assisted-by: Claude Opus 4.8
- Document Helm 4.0+ as the prerequisite in every chart README.
- Pin all CI workflows to the latest 4.0.x patch (v4.0.5).
- Bump each chart's patch version and regenerate all examples.

Assisted-by: Claude Opus 4.8
@TylerHelmuth TylerHelmuth changed the title [chore]: normalize example rendering [chore]: update all CI to helm 4+ May 28, 2026
…porters

The otlp/jaeger and otlphttp/prometheus exporters configured
sending_queue.batch as a null value. Helm 4.2 prunes the null key and
renders `sending_queue: {}`, while Helm 4.0.x renders `batch: null`,
which made example rendering depend on the contributor's Helm version.

Set `batch: {}` explicitly so the config renders identically across Helm
4.x versions. The collector resolves `batch: null` and `batch: {}` to the
same value (sending_queue.batch defaults to configoptional.Default, so
both produce Some(default BatchConfig)), so this is behavior-preserving.

Assisted-by: Claude Opus 4.8
@TylerHelmuth
TylerHelmuth marked this pull request as ready for review May 28, 2026 21:41
insecure: true
sending_queue:
batch:
batch: {}

@TylerHelmuth TylerHelmuth May 28, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The collector treats this the same and setting this prevents 4.0.x and 4.2.x from rendering differently

@TylerHelmuth
TylerHelmuth merged commit 2b90c8f into open-telemetry:main May 28, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants