Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Aug 14, 2025

This PR contains the following updates:

Package Change Age Confidence
k8s.io/api v0.33.3v0.35.0 age confidence
k8s.io/apimachinery v0.33.3v0.35.0 age confidence
k8s.io/client-go v0.33.3v0.35.0 age confidence
k8s.io/kubectl v0.33.3v0.35.0 age confidence

Release Notes

kubernetes/api (k8s.io/api)

v0.35.0

Compare Source

v0.34.3

Compare Source

v0.34.2

Compare Source

v0.34.1

Compare Source

v0.34.0

Compare Source

v0.33.7

Compare Source

v0.33.6

Compare Source

v0.33.5

Compare Source

v0.33.4

Compare Source

kubernetes/apimachinery (k8s.io/apimachinery)

v0.35.0

Compare Source

v0.34.3

Compare Source

v0.34.2

Compare Source

v0.34.1

Compare Source

v0.34.0

Compare Source

v0.33.7

Compare Source

v0.33.6

Compare Source

v0.33.5

Compare Source

v0.33.4

Compare Source

kubernetes/client-go (k8s.io/client-go)

v0.35.0

Compare Source

v0.34.3

Compare Source

v0.34.2

Compare Source

v0.34.1

Compare Source

v0.34.0

Compare Source

v0.33.7

Compare Source

v0.33.6

Compare Source

v0.33.5

Compare Source

v0.33.4

Compare Source

kubernetes/kubectl (k8s.io/kubectl)

v0.35.0

Compare Source

v0.34.3

Compare Source

v0.34.2

Compare Source

v0.34.1

Compare Source

v0.34.0

Compare Source

v0.33.7

Compare Source

v0.33.6

Compare Source

v0.33.5

Compare Source

v0.33.4

Compare 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Aug 14, 2025
@renovate renovate bot requested a review from gabe565 as a code owner August 14, 2025 09:08
@renovate renovate bot added go Pull requests that update Go code patch labels Aug 14, 2025
@renovate
Copy link
Contributor Author

renovate bot commented Aug 14, 2025

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 9 additional dependencies were updated

Details:

Package Change
github.com/emicklei/go-restful/v3 v3.12.0 -> v3.12.2
github.com/fxamacker/cbor/v2 v2.7.0 -> v2.9.0
github.com/google/gnostic-models v0.6.9 -> v0.7.0
github.com/modern-go/reflect2 v1.0.2 -> v1.0.3-0.20250322232337-35a7c28c31ee
go.yaml.in/yaml/v3 v3.0.3 -> v3.0.4
k8s.io/cli-runtime v0.33.3 -> v0.34.2
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff -> v0.0.0-20250710124328-f3f2b991d03b
sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 -> v0.0.0-20241014173422-cfa47c3a1cc8
sigs.k8s.io/yaml v1.4.0 -> v1.6.0

@renovate renovate bot added the minor label Aug 28, 2025
@renovate renovate bot force-pushed the renovate/kubernetes-go branch from 3d93aa0 to 0b7b39f Compare August 28, 2025 00:04
@renovate renovate bot removed the patch label Aug 28, 2025
@renovate renovate bot changed the title chore(deps): update kubernetes packages to v0.33.4 chore(deps): update kubernetes packages to v0.34.0 Aug 28, 2025
@renovate renovate bot force-pushed the renovate/kubernetes-go branch from 0b7b39f to 0ee3531 Compare September 10, 2025 11:10
@renovate renovate bot changed the title chore(deps): update kubernetes packages to v0.34.0 chore(deps): update kubernetes packages to v0.34.1 Sep 10, 2025
@renovate renovate bot force-pushed the renovate/kubernetes-go branch from 0ee3531 to daf4403 Compare October 9, 2025 11:56
@renovate renovate bot force-pushed the renovate/kubernetes-go branch from daf4403 to c5a3397 Compare November 12, 2025 20:43
@renovate renovate bot changed the title chore(deps): update kubernetes packages to v0.34.1 chore(deps): update kubernetes packages to v0.34.2 Nov 12, 2025
@renovate renovate bot force-pushed the renovate/kubernetes-go branch from c5a3397 to 7ffa6a3 Compare December 10, 2025 11:48
@renovate renovate bot changed the title chore(deps): update kubernetes packages to v0.34.2 chore(deps): update kubernetes packages to v0.34.3 Dec 10, 2025
@renovate
Copy link
Contributor Author

renovate bot commented Dec 10, 2025

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 22 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.24.6 -> 1.25.0
github.com/spf13/cobra v1.9.1 -> v1.10.0
github.com/spf13/pflag v1.0.7 -> v1.0.9
github.com/stretchr/testify v1.10.0 -> v1.11.1
golang.org/x/sync v0.16.0 -> v0.18.0
k8s.io/utils v0.0.0-20250604170112-4c0f3b243397 -> v0.0.0-20251002143259-bc988d571ff4
github.com/emicklei/go-restful/v3 v3.12.0 -> v3.12.2
github.com/fxamacker/cbor/v2 v2.7.0 -> v2.9.0
github.com/modern-go/reflect2 v1.0.2 -> v1.0.3-0.20250322232337-35a7c28c31ee
go.yaml.in/yaml/v3 v3.0.3 -> v3.0.4
golang.org/x/crypto v0.40.0 -> v0.44.0
golang.org/x/mod v0.26.0 -> v0.29.0
golang.org/x/net v0.42.0 -> v0.47.0
golang.org/x/sys v0.34.0 -> v0.38.0
golang.org/x/term v0.33.0 -> v0.37.0
golang.org/x/text v0.27.0 -> v0.31.0
golang.org/x/tools v0.35.0 -> v0.38.0
google.golang.org/protobuf v1.36.6 -> v1.36.8
gopkg.in/evanphx/json-patch.v4 v4.12.0 -> v4.13.0
k8s.io/cli-runtime v0.33.3 -> v0.35.0
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff -> v0.0.0-20250910181357-589584f1c912
sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 -> v0.0.0-20250730193827-2d320260d730
sigs.k8s.io/yaml v1.4.0 -> v1.6.0

@renovate renovate bot force-pushed the renovate/kubernetes-go branch from 7ffa6a3 to b93d885 Compare December 18, 2025 06:44
@renovate renovate bot changed the title chore(deps): update kubernetes packages to v0.34.3 chore(deps): update kubernetes packages to v0.35.0 Dec 18, 2025
@renovate renovate bot force-pushed the renovate/kubernetes-go branch from b93d885 to 43b4951 Compare January 2, 2026 22:42
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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code minor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant