Coder Social home page Coder Social logo

Comments (2)

chriskim06 avatar chriskim06 commented on June 26, 2024

it works for me. not sure what could be causing this but could it be something about your local networking?

$ pbpaste > vm-unstable.yml && cat vm-unstable.yml
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
  name: vm-unstable
spec:
  version: v0.0.3
  homepage: https://some-url/
  shortDescription: Some short description
  description: Some description.
  platforms:
    - selector:
        matchLabels:
          os: darwin
          arch: amd64
      uri: https://download.aerokube.com/boot/kubectl-vm/latest/kubectl-vm_latest_darwin_amd64.zip
      sha256: eb0995d97bf37735e2daa8a615b7fac2f4c3524303c553ed4501707adfdd88df
      bin: kubectl-vm

$ wget https://download.aerokube.com/boot/kubectl-vm/latest/kubectl-vm_latest_darwin_amd64.zip
--2023-08-22 14:24:04--  https://download.aerokube.com/boot/kubectl-vm/latest/kubectl-vm_latest_darwin_amd64.zip
Resolving download.aerokube.com (download.aerokube.com)... 18.244.214.2, 18.244.214.30, 18.244.214.73, ...
Connecting to download.aerokube.com (download.aerokube.com)|18.244.214.2|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9988544 (9.5M) [application/zip]
Saving to: ‘kubectl-vm_latest_darwin_amd64.zip’

kubectl-vm_latest_darwin_amd64.zip                    100%[========================================================================================================================>]   9.53M  37.1MB/s    in 0.3s

2023-08-22 14:24:05 (37.1 MB/s) - ‘kubectl-vm_latest_darwin_amd64.zip’ saved [9988544/9988544]

$ shasum -a 256 kubectl-vm_latest_darwin_amd64.zip
cc6c22b877ab03add1ccb58f3421ca9e7cffd886b3edd2c7a0010c87be13f890  kubectl-vm_latest_darwin_amd64.zip

$ sed 's/eb0995d97bf37735e2daa8a615b7fac2f4c3524303c553ed4501707adfdd88df/cc6c22b877ab03add1ccb58f3421ca9e7cffd886b3edd2c7a0010c87be13f890/' -i vm-unstable.yml

$ cat vm-unstable.yml
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
  name: vm-unstable
spec:
  version: v0.0.3
  homepage: https://some-url/
  shortDescription: Some short description
  description: Some description.
  platforms:
    - selector:
        matchLabels:
          os: darwin
          arch: amd64
      uri: https://download.aerokube.com/boot/kubectl-vm/latest/kubectl-vm_latest_darwin_amd64.zip
      sha256: cc6c22b877ab03add1ccb58f3421ca9e7cffd886b3edd2c7a0010c87be13f890
      bin: kubectl-vm

$ kubectl krew install --manifest vm-unstable.yml
Installing plugin: vm-unstable
Installed plugin: vm-unstable
\
 | Use this plugin:
 |      kubectl vm-unstable
 | Documentation:
 |      https://some-url/
/

i had to update the sha and i omitted the verbose logging

from krew.

vania-pooh avatar vania-pooh commented on June 26, 2024

@chriskim06 yeah, seems to be. Now it works for me too. Probably related to caching in our CDN.

from krew.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.