Getting "can't have a plugin without specifying file operations"
clehene opened this issue · comments
Cosmin Lehene commented
(⎈ |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
Ahmet Alp Balkan commented
What's your krew version? Could it be too old?
Cosmin Lehene commented
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