Skip to content

chore(deps): upgrade troubleshoot to v0.134.0 and k8s libs to 1.37 - #6047

Merged
sgalsaleh merged 1 commit into
mainfrom
salah/bump-troubleshoot-v0.134.0
Sep 4, 2026
Merged

chore(deps): upgrade troubleshoot to v0.134.0 and k8s libs to 1.37#6047
sgalsaleh merged 1 commit into
mainfrom
salah/bump-troubleshoot-v0.134.0

Conversation

@sgalsaleh

@sgalsaleh sgalsaleh commented Sep 4, 2026

Copy link
Copy Markdown
Member

What this PR does / why we need it:

Picks up troubleshoot v0.134.0 for three support bundle redaction fixes: connection strings with no trailing database name (postgres://user:pass@host:5432), mysql DSNs over tcp4/tcp6/unix, and an expanded credential env-name list (api_key, secret, private_key, …). All three affect KOTS-generated bundles.

It requires the k8s 0.37 staging modules, so k8s.io/kubernetes and k8s.io/component-helpers — both indirect, nothing was raising them — move to match, along with the existing staging replace block, kubectl and cluster-bootstrap. No new replace directives; go.sum net shrinks.

Which issue(s) this PR fixes:

Ships sc-139337 into KOTS.

Does this PR require a test?

NONE — covered by tests in troubleshoot. Locally go build ./... and go mod tidy are clean and pkg/redact, pkg/supportbundle, pkg/preflight, pkg/kotsutil, pkg/base, pkg/operator/..., pkg/handlers pass. Reviewers should weigh the client-go 1.37 move on runtime behaviour, which compilation doesn't cover — CI and e2e are the real gate.

Does this PR require a release note?

New features:


Bug fixes:

Mask database credentials in support bundles when the connection string has no trailing database name, and in mysql DSNs over tcp4, tcp6 and unix sockets.

Improvements:


Does this PR require documentation?

NONE

🤖 Generated with Claude Code

troubleshoot v0.134.0 carries three support bundle redaction fixes:
connection strings without a trailing database name, credentials in
mysql DSNs over tcp4/tcp6/unix, and an expanded env-name list covering
api_key, secret, auth, private_key and credential.

It requires the k8s 0.37 staging modules, which need k8s.io/kubernetes
and k8s.io/component-helpers raised to match: both are indirect, so
nothing in the graph was pulling them up, leaving 0.36 kubelet and
component-helpers code compiling against 0.37 API types. Raise both,
retarget the existing staging replace block, and move kubectl and
cluster-bootstrap so the tree is not split across two k8s lines.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@greptile-apps

greptile-apps Bot commented Sep 4, 2026

Copy link
Copy Markdown

Reviews (1): Last reviewed commit: "chore(deps): upgrade troubleshoot to v0...." | Re-trigger Greptile

@dydx dydx left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I see 90 checks passing and greptile not complaining. I think this is likely OK.

@sgalsaleh
sgalsaleh merged commit 6a284b0 into main Sep 4, 2026
174 of 180 checks passed
@sgalsaleh
sgalsaleh deleted the salah/bump-troubleshoot-v0.134.0 branch September 4, 2026 20:34
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