Skip to content

cleanup: remove unused KubeClientWrapper - #3591

Merged
timflannagan merged 1 commit into
kagent-dev:mainfrom
timflannagan:cleanup/remove-kube-client-wrapper
Nov 9, 2026
Merged

timflannagan merged 1 commit into
kagent-dev:mainfrom
timflannagan:cleanup/remove-kube-client-wrapper

Conversation

@timflannagan

Copy link
Copy Markdown
Contributor

Removes utils.KubeClientWrapper and its test. Nothing outside its own test constructs it.

The wrapper overlaid unsaved objects on a controller-runtime client so the agent manifest validator could dry-run the old translator against an Agent before it existed. #2565 removed that validator and translator with the legacy runtime but left the wrapper behind. Agents now compile from KRT collections, so nothing needs to fake client reads.

Part of #3235.

Delete KubeClientWrapper. Nothing outside its own test constructs it.

The wrapper overlaid unsaved objects on a controller-runtime client so
the agent manifest validator could dry-run the old translator against an
Agent before it existed. kagent-dev#2565 removed that validator and translator
along with the legacy runtime, but left the wrapper behind. Agents now
compile from KRT collections, so nothing needs to fake client reads.

Signed-off-by: timflannagan <[email protected]>
@timflannagan
timflannagan requested a review from a team as a code owner November 9, 2026 17:20
@timflannagan
timflannagan added this pull request to the merge queue Nov 9, 2026
Merged via the queue into kagent-dev:main with commit 9893170 Nov 9, 2026
29 checks passed
@timflannagan
timflannagan deleted the cleanup/remove-kube-client-wrapper branch November 9, 2026 18:53
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.

3 participants