-
Notifications
You must be signed in to change notification settings - Fork 1
chore(deps): update kubernetes packages to v0.35.0 #280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
ℹ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
3d93aa0 to
0b7b39f
Compare
0b7b39f to
0ee3531
Compare
0ee3531 to
daf4403
Compare
daf4403 to
c5a3397
Compare
c5a3397 to
7ffa6a3
Compare
ℹ️ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
7ffa6a3 to
b93d885
Compare
b93d885 to
43b4951
Compare
| go.yaml.in/yaml/v3 v3.0.4 // indirect | ||
| golang.org/x/crypto v0.44.0 // indirect | ||
| golang.org/x/mod v0.29.0 // indirect | ||
| golang.org/x/net v0.47.0 // indirect |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: The code references podcmd.DefaultContainerAnnotationName, a constant removed in k8s.io/kubectl v0.35.0, which will cause a compilation failure.
Severity: CRITICAL | Confidence: High
🔍 Detailed Analysis
The update to k8s.io/kubectl v0.35.0 causes a build failure because the code references an exported constant, podcmd.DefaultContainerAnnotationName, which has been removed in this new version. The code in internal/util/cmd_setup.go uses this constant to look up an annotation on a pod. Since the constant no longer exists, the Go compiler will raise an "undefined" error, preventing the application from being built.
💡 Suggested Fix
Replace the reference to the removed constant podcmd.DefaultContainerAnnotationName with its hardcoded string value, "kubectl.kubernetes.io/default-container". It is recommended to define this as a local constant within the package.
🤖 Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.
Location: go.mod#L144
Potential issue: The update to `k8s.io/kubectl v0.35.0` causes a build failure because
the code references an exported constant, `podcmd.DefaultContainerAnnotationName`, which
has been removed in this new version. The code in `internal/util/cmd_setup.go` uses this
constant to look up an annotation on a pod. Since the constant no longer exists, the Go
compiler will raise an "undefined" error, preventing the application from being built.
Did we get this right? 👍 / 👎 to inform future reviews.
Reference ID: 8119229
This PR contains the following updates:
v0.33.3→v0.35.0v0.33.3→v0.35.0v0.33.3→v0.35.0v0.33.3→v0.35.0Release Notes
kubernetes/api (k8s.io/api)
v0.35.0Compare Source
v0.34.3Compare Source
v0.34.2Compare Source
v0.34.1Compare Source
v0.34.0Compare Source
v0.33.7Compare Source
v0.33.6Compare Source
v0.33.5Compare Source
v0.33.4Compare Source
kubernetes/apimachinery (k8s.io/apimachinery)
v0.35.0Compare Source
v0.34.3Compare Source
v0.34.2Compare Source
v0.34.1Compare Source
v0.34.0Compare Source
v0.33.7Compare Source
v0.33.6Compare Source
v0.33.5Compare Source
v0.33.4Compare Source
kubernetes/client-go (k8s.io/client-go)
v0.35.0Compare Source
v0.34.3Compare Source
v0.34.2Compare Source
v0.34.1Compare Source
v0.34.0Compare Source
v0.33.7Compare Source
v0.33.6Compare Source
v0.33.5Compare Source
v0.33.4Compare Source
kubernetes/kubectl (k8s.io/kubectl)
v0.35.0Compare Source
v0.34.3Compare Source
v0.34.2Compare Source
v0.34.1Compare Source
v0.34.0Compare Source
v0.33.7Compare Source
v0.33.6Compare Source
v0.33.5Compare Source
v0.33.4Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.