mirror of
https://github.com/fluxcd/flagger.git
synced 2026-03-02 01:30:48 +00:00
e2e: Update Istio to v1.5.0
This commit is contained in:
@@ -2,23 +2,15 @@
|
||||
|
||||
set -o errexit
|
||||
|
||||
ISTIO_VER="1.4.5"
|
||||
ISTIO_VER="1.5.0"
|
||||
REPO_ROOT=$(git rev-parse --show-toplevel)
|
||||
|
||||
echo ">>> Downloading Istio ${ISTIO_VER}"
|
||||
cd ${REPO_ROOT}/bin && \
|
||||
curl -L https://istio.io/downloadIstio | ISTIO_VERSION=${ISTIO_VER} sh -
|
||||
|
||||
echo ">>> Installing Istio ${ISTIO_VER}"
|
||||
kubectl create ns istio-system
|
||||
helm repo add istio.io https://storage.googleapis.com/istio-release/releases/${ISTIO_VER}/charts
|
||||
|
||||
echo '>>> Installing Istio CRDs'
|
||||
helm upgrade -i istio-init istio.io/istio-init --wait --namespace istio-system
|
||||
|
||||
echo '>>> Waiting for Istio CRDs to be ready'
|
||||
kubectl -n istio-system wait --for=condition=complete job/istio-init-crd-10-${ISTIO_VER}
|
||||
kubectl -n istio-system wait --for=condition=complete job/istio-init-crd-11-${ISTIO_VER}
|
||||
kubectl -n istio-system wait --for=condition=complete job/istio-init-crd-14-${ISTIO_VER}
|
||||
|
||||
echo '>>> Installing Istio control plane'
|
||||
helm upgrade -i istio istio.io/istio --wait --namespace istio-system -f ${REPO_ROOT}/test/e2e-istio-values.yaml
|
||||
${REPO_ROOT}/bin/istio-${ISTIO_VER}/bin/istioctl manifest apply --set profile=default
|
||||
|
||||
kubectl -n istio-system get all
|
||||
|
||||
|
||||
Reference in New Issue
Block a user