mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-07-01 18:30:15 +00:00
Add kubeval install notes.
This commit is contained in:
@@ -5,13 +5,27 @@ set -e
|
|||||||
# 0==success, any other value is a failure.
|
# 0==success, any other value is a failure.
|
||||||
rcAccumulator=0
|
rcAccumulator=0
|
||||||
|
|
||||||
# Not used, and not cross platform,
|
# Not used here, and not cross platform, but kept because
|
||||||
# but kept because I don't want to have to
|
# I don't want to have to look it up again.
|
||||||
# look it up again.
|
|
||||||
function installHelm {
|
function installHelm {
|
||||||
|
local d=$(mktemp -d)
|
||||||
|
pushd $d
|
||||||
wget https://storage.googleapis.com/kubernetes-helm/helm-v2.13.1-linux-amd64.tar.gz
|
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
|
tar -xvzf helm-v2.13.1-linux-amd64.tar.gz
|
||||||
sudo mv linux-amd64/helm /usr/local/bin/helm
|
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 {
|
function removeBin {
|
||||||
|
|||||||
Reference in New Issue
Block a user