Skip to content

Commit

Permalink
fix: improve demo script
Browse files Browse the repository at this point in the history
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
  • Loading branch information
eddycharly committed Mar 9, 2024
1 parent a8a355f commit eac5167
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 19 deletions.
16 changes: 16 additions & 0 deletions demo/istio/bootstrap.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash

KIND_IMAGE=kindest/node:v1.29.2
ISTIO_REPO=https://istio-release.storage.googleapis.com/charts
ISTIO_NS=istio-system

# Create Kind cluster
kind create cluster --image $KIND_IMAGE

# Install Istio components
helm upgrade --install istio-base --namespace $ISTIO_NS --create-namespace --wait --repo $ISTIO_REPO base
helm upgrade --install istiod --namespace $ISTIO_NS --create-namespace --wait --repo $ISTIO_REPO istiod
helm upgrade --install istio-ingress --namespace $ISTIO_NS --create-namespace --wait --repo $ISTIO_REPO gateway

# Label default namespace to inject sidecar automatically
kubectl label namespace default istio-injection=enabled
19 changes: 0 additions & 19 deletions demo/istio/install-istio.sh

This file was deleted.

File renamed without changes.

0 comments on commit eac5167

Please sign in to comment.