mirror of
https://github.com/fluxcd/flagger.git
synced 2026-04-15 06:57:34 +00:00
Install kustomize in CI
This commit is contained in:
+10
-1
@@ -3,7 +3,8 @@
|
||||
set -o errexit
|
||||
|
||||
REPO_ROOT=$(git rev-parse --show-toplevel)
|
||||
HELM_VERSION=v3.0.3
|
||||
HELM_VERSION=v3.3.0
|
||||
KUSTOMIZE_VERSION=3.8.1
|
||||
KIND_VERSION=v0.8.1
|
||||
KUBE_VERSION=v1.16.9
|
||||
|
||||
@@ -26,6 +27,14 @@ kind create cluster --wait 5m --image kindest/node:${KUBE_VERSION}
|
||||
|
||||
kubectl get pods --all-namespaces
|
||||
|
||||
cd /tmp
|
||||
|
||||
echo ">>> Installing Helm"
|
||||
curl -sSL https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz | tar xz && sudo mv linux-amd64/helm /usr/local/bin/ && rm -rf linux-amd64
|
||||
helm repo add stable https://kubernetes-charts.storage.googleapis.com/
|
||||
|
||||
echo ">>> Installing Kustomize"
|
||||
kustomize_url=https://github.com/kubernetes-sigs/kustomize/releases/download && \
|
||||
curl -sL ${kustomize_url}/kustomize%2Fv${KUSTOMIZE_VERSION}/kustomize_v${KUSTOMIZE_VERSION}_linux_amd64.tar.gz | tar xz
|
||||
chmod +x kustomize
|
||||
sudo mv kustomize /usr/local/bin/kustomize
|
||||
|
||||
Reference in New Issue
Block a user