Skip to content

Commit

Permalink
added namespace manifest
Browse files Browse the repository at this point in the history
Signed-off-by: swastik959 <Sswastik959@gmail.com>
  • Loading branch information
swastik959 committed Mar 10, 2024
1 parent eac5167 commit b692741
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 0 additions & 2 deletions demo/istio/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,3 @@ helm upgrade --install istio-base --namespace $ISTIO_NS --create-namespace
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
9 changes: 9 additions & 0 deletions demo/istio/manifests/echo-service.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
apiVersion: v1
kind: Namespace
metadata:
name: my-istio-namespace
labels:
istio-injection: enabled

---

apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down

0 comments on commit b692741

Please sign in to comment.