mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
install linux tool
This commit is contained in:
parent
f6b3dadfba
commit
06f2fd8f39
1 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,8 @@ $pwd/kind load docker-image nirmata/kyvernopre:$hash
|
|||
pwd=$(pwd)
|
||||
cd $pwd/definitions
|
||||
echo "Installing kustomize"
|
||||
latest=$(curl -sL https://api.github.com/repos/kubernetes-sigs/kustomize/git/refs/tags/kustomize | jq '.[-1].ref' | grep -Eo '\d+\.\d+\.\d+')
|
||||
apt install -y jq
|
||||
latest=$(curl -sL https://api.github.com/repos/kubernetes-sigs/kustomize/git/refs/tags/kustomize | jq '.[-1].ref' | grep -Po '\d+\.\d+\.\d+')
|
||||
curl -sLO "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh"
|
||||
bash ./install_kustomize.sh $latest
|
||||
chmod a+x $pwd/definitions/kustomize
|
||||
|
|
Loading…
Add table
Reference in a new issue