fix(deps): bump OpenTofu to 1.12.6 and Helm to 3.22.0 - #260
Merged
Merged
Conversation
Both pinned builds use old Go toolchains, so Trivy flags their vendored stdlib and x/* modules. Measured against the published scopes/containers image: tofu 1.10.6 -> 1.12.6 54 findings -> 13 helm 3.15.4 -> 3.22.0 52 findings -> 0 Helm stays on the 3.x line, so no v4 migration. kubectl is deliberately left alone: no version below 1.37.0 clears its findings, and that is a seven-minor jump which breaks the supported skew against customer clusters. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
sebastiancorrea81
approved these changes
Sep 14, 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.
What
Bump two pinned binaries in
docker/containers.Dockerfile:This file carries the note "review/pin these versions to what the scopes actually target" — this is that review.
Why
None of the vulnerabilities Trivy reports against
scopes/containersare in our code. All 147 live in four binaries baked into the image, and the dominant package in each isstdlib— the Go standard library the binary was compiled with.tofuhelmkubectlnpMeasured by scanning each candidate binary inside an identical image:
This also reaches
scopes/containers-datadog, which isFROMthis image and inherits both pins.Risk
Helm stays on the 3.x line — not a v4 migration. OpenTofu moves two minors inside 1.x.
Worth noting: this binary runs
tofu applyagainst customer state, so please run the scope test suite before merging rather than treating it as a routine bump. That is the main reason this is not split into two trivial PRs.kubectl left alone, deliberately
kubectlaccounts for 32 findings and is not touched. No version below 1.37.0 clears them:1.30.4 → 1.37.0 is a seven-minor jump that breaks kubectl supported version skew against customer clusters. That is a compatibility decision, not a dependency bump, so it is left for a separate conversation.
np(9 findings) comes fromscopes/worker-bridgeand has to be fixed there.Verified
All four artifacts return HTTP 200 —
tofu_1.12.6_linux_{amd64,arm64}.tar.gzandhelm-v3.22.0-linux-{amd64,arm64}.tar.gz. The build is multi-arch and needs both.🤖 Generated with Claude Code