ahmetb / kubectl-tree

kubectl plugin to browse Kubernetes object hierarchies as a tree 🎄 (star the repo if you are using)
Apache License 2.0
2.91k stars 118 forks source link

Getting "can't have a plugin without specifying file operations" #41

Closed clehene closed 3 years ago

clehene commented 3 years ago
(⎈ |dev-1:default)➜  ~ kubectl krew install tree
Updated the local copy of plugin index.
F1030 15:38:17.757783   13221 root.go:52] failed to load plugin "tree" from the index: platform ({Head: URI:https://github.com/ahmetb/kubectl-tree/releases/download/v0.4.0/kubectl-tree_v0.4.0_darwin_amd64.tar.gz Sha256:c90dd260212b7da7163f12a27269923dedaeb17667616d990aa7ddbee31d2364 Selector:&LabelSelector{MatchLabels:map[string]string{arch: amd64,os: darwin,},MatchExpressions:[],} Files:[] Bin:kubectl-tree}) is badly constructed: can't have a plugin without specifying file operations
ahmetb commented 3 years ago

What's your krew version? Could it be too old?

clehene commented 3 years ago

I suppose so :)

(⎈ |dev-1:default)➜  ~ kubectl krew version
OPTION          VALUE
IsPlugin        true
ExecutedVersion dc2f2e1ec8a0acb6f3e23580d4a8b38c44823e948c40342e13ff6e8e12edb15a
GitTag          v0.2.1

I guess it would have warned me, but it was too old for that too. Closing. Thank you @ahmetb