Merge pull request #1670 from monopole/installKubevalNotes

Add kubeval install notes.
This commit is contained in:
Jeff Regan
2019-10-21 19:34:41 -07:00
committed by GitHub

View File

@@ -5,13 +5,27 @@ set -e
# 0==success, any other value is a failure.
rcAccumulator=0
# Not used, and not cross platform,
# but kept because I don't want to have to
# look it up again.
# Not used here, and not cross platform, but kept because
# I don't want to have to look it up again.
function installHelm {
local d=$(mktemp -d)
pushd $d
wget https://storage.googleapis.com/kubernetes-helm/helm-v2.13.1-linux-amd64.tar.gz
tar -xvzf helm-v2.13.1-linux-amd64.tar.gz
sudo mv linux-amd64/helm /usr/local/bin/helm
popd
}
# Not used here, and not cross platform, but kept because
# I don't want to have to look it up again.
# Per https://kubeval.instrumenta.dev/installation
function installKubeval {
local d=$(mktemp -d)
pushd $d
wget https://github.com/instrumenta/kubeval/releases/latest/download/kubeval-linux-amd64.tar.gz
tar xf kubeval-linux-amd64.tar.gz
sudo cp kubeval /usr/local/bin
popd
}
function removeBin {