mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
Merge remote-tracking branch 'upstream/main' into main
This commit is contained in:
commit
fecf9f60af
1 changed files with 3 additions and 1 deletions
|
@ -17,7 +17,9 @@ $pwd/kind load docker-image nirmata/kyvernopre:$hash
|
|||
pwd=$(pwd)
|
||||
cd $pwd/definitions
|
||||
echo "Installing kustomize"
|
||||
curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash
|
||||
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
|
||||
echo "Kustomize image edit"
|
||||
$pwd/definitions/kustomize edit set image nirmata/kyverno:$hash
|
||||
|
|
Loading…
Reference in a new issue