jsturtevant / windows-debug

krew plugin for launching a Windows host process pod that will give you access to the node
MIT License
15 stars 9 forks source link

kubectl krew install windows-debug has checksum error #17

Closed mpowrie closed 1 year ago

mpowrie commented 1 year ago

When trying to install windows-debug using kubectl krew install windows-debug I get the error:

kubectl krew install windows-debug
Updated the local copy of plugin index.
Installing plugin: windows-debug
W0929 19:54:21.263721     809 install.go:164] failed to install plugin "windows-debug": install failed: failed to unpack into staging dir: failed to unpack the plugin archive: checksum does not match, want: ec88a1e47b3489c61d721b01030796d2a51a958705b9975d17928a43de3c9ee7, got 90141f64bdf7e634cf1077ca612b28cb729e0a392359299d2849198f3075b049
failed to install some plugins: [windows-debug]: install failed: failed to unpack into staging dir: failed to unpack the plugin archive: checksum does not match, want: ec88a1e47b3489c61d721b01030796d2a51a958705b9975d17928a43de3c9ee7, got 90141f64bdf7e634cf1077ca612b28cb729e0a392359299d2849198f3075b049

Versions:

jsturtevant commented 1 year ago

I believe this might be due to a bad tagged release that happened in the last version. (fyi @marosset) I will work on a new release, but it may take a day or two.

In the mean time you can run the extension manually: https://github.com/jsturtevant/windows-debug#use-as-standalone-without-plugin

curl -LO https://raw.githubusercontent.com/jsturtevant/windows-debug/main/kubectl-windows-debug
./kubectl-windows-debug
jsturtevant commented 1 year ago

once this merges we should have a fixed version working in krew: https://github.com/kubernetes-sigs/krew-index/pull/2640/

mpowrie commented 1 year ago

Thanks!

jsturtevant commented 1 year ago

This is working now!

k krew install windows-debug
Updated the local copy of plugin index.
Installing plugin: windows-debug
Installed plugin: windows-debug

Thanks for reporting the mix up!