kubectl-fzf icon indicating copy to clipboard operation
kubectl-fzf copied to clipboard

zsh broken with kubectl 1.22

Open bchess opened this issue 3 years ago • 3 comments

kubectl 1.22 made major changes to zsh autocompletion https://github.com/kubernetes/kubernetes/commit/77bb053102cbe1581857dd35e9c095888d2c85d3

kubectl-fzf no longer works with this

bchess avatar Dec 19 '21 04:12 bchess

I've just discovered that if you do source <(kubectl completion zsh) then standard auto-completion from fzf-tab works! It is not as good as kubectl-fzf since it only shows objects names without other metadata like namespace etc but it works, and will continue working. Not sure if any information is cached so it might not be a usable replacement for bigger clusters.

ghostbuster91 avatar May 07 '22 17:05 ghostbuster91

Is this project now abandoned? No commits since 2021.

o6uoq avatar Jul 04 '22 16:07 o6uoq

Unfortunately it seems so :(

ghostbuster91 avatar Jul 04 '22 17:07 ghostbuster91

Hey, author here!

The kubectl update required a good amount of rewrite and design changes. I've finally managed to get some time to tackle those and released the v3. It's still a pre-release and I'm still chasing down the bugs and updating the readme but the base functions should work.

Happy to get any issues and bugs you encounter with the v3!

bonnefoa avatar Aug 31 '22 06:08 bonnefoa

Hi @bonnefoa that is a great news! I can only imagine how much work it required. I want you to know that even that I don't use kubectl anymore (at least for now) I appreciate your work. Thanks man!

ghostbuster91 avatar Aug 31 '22 07:08 ghostbuster91

Amazing! I will check it out. Thank you!

bchess avatar Aug 31 '22 13:08 bchess