Repository navigation
Fix update-kube-stack-version for Helm v4 - #8663
Merged
Merged
Conversation
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]>
Contributor
Elastic Docs AI PR menuCheck the box to run an AI review for this pull request.
Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team. |
Member
Author
|
@rogercoll Is this right? Are we on 4.3.0 now? +CC @eedugon |
rogercoll
approved these changes
Oct 5, 2026
That is correct, https://github.com/elastic/elastic-agent/blob/main/go.mod#L93 |
akira28
approved these changes
Oct 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The weekly
update-kube-stack-versionrun failed on September 28 withHelm 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 forhelm.sh/helm/v3in elastic-agent'sgo.mod, andmainnow listshelm.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_versionagainst the livego.modand it returns4.3.0. It still returns3.15.4for 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-versionindocset.ymlfrom 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