feat(kgwctl): add CLI with shell completions and kubectl plugin support#714
feat(kgwctl): add CLI with shell completions and kubectl plugin support#714Mike-4-prog wants to merge 1 commit into
Conversation
- Add kgwctl CLI with get, version, and completion commands - Implement shell completions for bash, zsh, fish, powershell - Add kube client helper for Kubernetes API access - Update dependencies to k8s.io/client-go v0.35.3 - Update .gitignore to exclude binaries Closes #13658 Signed-off-by: MIKE-4-prog <uzukwuekene.michael@gmail.com>
|
Hi maintainers 👋 Just a gentle bump on this PR: This PR adds:
All CI checks are passing and the PR is ready for review. Happy to adjust or split this into smaller PRs if that would make review easier 🙏 |
kristin-kronstain-brown
left a comment
There was a problem hiding this comment.
I think it would make more sense to move these changes over to: https://github.com/kgateway-dev/kgateway
This is the docs repo.
Thanks for the clarification @kristin-kronstain-brown 🙏 I’ll hold off on further updates here for now while maintainers discuss the direction for kgwctl, and can move/rework the changes in the main kgateway repo if that’s the preferred path going forward. Thanks again! |
Description
Motivation
This PR completes the polish items for kgwctl before general availability as outlined in issue #13658.
What changed
kgwctlCLI with the following commands:version- displays the CLI versionget- retrieves Kubernetes pods (demonstrates K8s API integration)completion- generates shell completion scripts for bash, zsh, fish, and powershellpkg/kube/client.go- reusable Kubernetes client helper.gitignoreto exclude kgwctl binariesRelated issues
Updates #13658
Change Type
/kind feature
Changelog