Skip to content

Fix update-kube-stack-version for Helm v4 - #8663

Merged
theletterf merged 1 commit into
mainfrom
fix-kube-stack-helm-v4-pattern
Oct 5, 2026
Merged

theletterf merged 1 commit into
mainfrom
fix-kube-stack-helm-v4-pattern

Conversation

@theletterf

@theletterf theletterf commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

The weekly update-kube-stack-version run failed on September 28 with Helm version pattern not found in go.mod file. It had passed every week since August 10.

The cause is in .github/scripts/update_kube_stack_version.py. It looked for helm.sh/helm/v3 in elastic-agent's go.mod, and main now lists helm.sh/helm/v4 v4.3.0. The v3 line is gone, so the run would fail every week.

I changed the pattern to match any major version. I ran extract_helm_version against the live go.mod and it returns 4.3.0. It still returns 3.15.4 for a v3 line and still raises when no Helm line exists. I did not run the full script or the workflow.

One thing to know before merging: the next successful run will open the usual bot PR that moves helm-version in docset.yml from 3.21.0 to 4.3.0. The Kubernetes quickstarts say "Helm version 3.9+ up to and including {{helm-version}}", so they would then read "3.9+ up to and including 4.3.0". I haven't checked whether Helm 4 is supported there, so someone from Observability should confirm before that bot PR merges.

🤖 Generated with Claude Code

Related to elastic/docs-builder#4346

elastic-agent's go.mod now lists helm.sh/helm/v4, so the v3-only pattern
made the weekly update-kube-stack-version run fail on 2026-09-28.
Match any major version instead.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Signed-off-by: Fabrizio Ferri Benedetti <[email protected]>
@theletterf
theletterf requested a review from a team as a code owner October 5, 2026 08:12
@theletterf
theletterf requested a review from reakaleek October 5, 2026 08:12
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Elastic Docs AI PR menu

Check the box to run an AI review for this pull request.

  • Review docs changes (docs-review). Status: not started.

Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team.

@theletterf
theletterf requested a review from rogercoll October 5, 2026 08:13
@theletterf

Copy link
Copy Markdown
Member Author

@rogercoll Is this right? Are we on 4.3.0 now?

+CC @eedugon

@rogercoll

Copy link
Copy Markdown

@theletterf
theletterf added this pull request to the merge queue Oct 5, 2026
Merged via the queue into main with commit 018548c Oct 5, 2026
12 checks passed
@theletterf
theletterf deleted the fix-kube-stack-helm-v4-pattern branch October 5, 2026 11:00
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.

3 participants