elsesiy / kubectl-view-secret

Kubernetes CLI plugin to decode Kubernetes secrets
MIT License
303 stars 19 forks source link

Error while installing in Apple M1 chip #22

Closed rgeraskin closed 3 years ago

rgeraskin commented 3 years ago

Hi. I see that this plugin has apple m1 support by https://github.com/elsesiy/kubectl-view-secret/issues/21

But installation fails:

❯ kubectl krew install view-secret
Updated the local copy of plugin index.
Installing plugin: view-secret
W0523 02:17:40.791955   47529 install.go:164] failed to install plugin "view-secret": plugin "view-secret" does not offer installation for this platform
F0523 02:17:40.792015   47529 root.go:79] failed to install some plugins: [view-secret]: plugin "view-secret" does not offer installation for this platform
❯ kubectl krew info view-secret
NAME: view-secret
INDEX: default
VERSION: v0.8.0
HOMEPAGE: https://github.com/elsesiy/kubectl-view-secret
DESCRIPTION: 
Base64 decode by key or all key/value pairs in a given secret.
...
elsesiy commented 3 years ago

Hi @rgeraskin, thanks for reporting the issue. I don't use the new arch myself so I didn't notice that the krew plugin manifest was missing the change you linked.

Once https://github.com/kubernetes-sigs/krew-index/pull/1297 is merged you should be all set!

rgeraskin commented 3 years ago

Thanks, works fine now!