-
Notifications
You must be signed in to change notification settings - Fork 727
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -o errexit | ||
|
||
ISTIO_VER="1.0.6" | ||
REPO_ROOT=$(git rev-parse --show-toplevel) | ||
export KUBECONFIG="$(kind get kubeconfig-path --name="kind")" | ||
|
||
echo ">>> Downloading Supergloo CLI" | ||
curl -SsL https://github.com/solo-io/supergloo/releases/download/v0.3.13/supergloo-cli-linux-amd64 > supergloo-cli | ||
chmod +x supergloo-cli | ||
|
||
echo ">>> Installing Supergloo" | ||
./supergloo-cli init | ||
echo ">>> Installing Istio ${ISTIO_VER}" | ||
kubectl create ns istio-system | ||
./supergloo-cli install istio --name test --namespace supergloo-system --auto-inject true --installation-namespace istio-system --mtls false --prometheus true --version ${ISTIO_VER} | ||
|
||
echo '>>> Waiting for Istio to be ready' | ||
until kubectl -n supergloo-system get mesh test | ||
do | ||
sleep 2 | ||
done | ||
|
||
# add rbac rules | ||
kubectl create clusterrolebinding flagger-supergloo --clusterrole=mesh-discovery --serviceaccount=istio-system:flagger | ||
|
||
kubectl -n istio-system get all |