instrumenta / kubeval

Validate your Kubernetes configuration files, supports multiple Kubernetes versions
https://kubeval.com
Other
3.16k stars 229 forks source link

kubeval release download not in gzip format? #322

Closed ivan-penchev closed 2 years ago

ivan-penchev commented 3 years ago

Hi, I am running into the following issue:

gzip: unknown compression format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

All I have is a small script to download and use this:

curl -L https://github.com/instrumenta/kubeval/releases/download/0.16.1/kubeval-linux-amd64.tar.gz -o /tmp/kubeval-linux-amd64.tar.gz

tar -C /tmp/kubeval/ -zxvf /tmp/kubeval-linux-amd64.tar.gz    

Am I messing something or?

OS: ubuntu-20 LTS in the CI Mac Big Sur in the local

larsks commented 2 years ago

You have a typo in your URL; you're missing the v in v0.16.1:

curl -L https://github.com/instrumenta/kubeval/releases/download/v0.16.1/kubeval-linux-amd64.tar.gz -o /tmp/kubeval-linux-amd64.tar.gz