Skip to content

Commit

Permalink
Update quickstart sail installation
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Cattermole <acatterm@redhat.com>
  • Loading branch information
adam-cattermole committed Nov 4, 2024
1 parent 0892348 commit 5ed7c49
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions hack/quickstart-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ fi

if [ -z $ISTIO_INSTALL_SAIL ]; then
ISTIO_INSTALL_SAIL=${ISTIO_INSTALL_SAIL:=true}
SAIL_VERSION=${SAIL_VERSION:="0.1.0"}
fi

export TOOLS_IMAGE=quay.io/kuadrant/mgc-tools:latest
Expand Down Expand Up @@ -402,8 +403,12 @@ success "Gateway API installed successfully."
info "Installing Istio as a Gateway API provider... 🛫"
if [ "$ISTIO_INSTALL_SAIL" = true ]; then
info "Installing Istio via Sail"
kubectl apply -k ${KUADRANT_ISTIO_KUSTOMIZATION}
kubectl -n istio-system wait --for=condition=Available deployment istio-operator --timeout=300s
${HELM_BIN} install sail-operator \
--create-namespace \
--namespace istio-system \
--wait \
--timeout=300s \
https://github.com/istio-ecosystem/sail-operator/releases/download/$(SAIL_VERSION)/sail-operator-$(SAIL_VERSION).tgz
kubectl apply -f ${KUADRANT_REPO_RAW}/config/dependencies/istio/sail/istio.yaml
else
# Create CRD first to prevent race condition with creating CR
Expand Down

0 comments on commit 5ed7c49

Please sign in to comment.