From b692741ebcb8d920f8198c033c38f9bf485bc582 Mon Sep 17 00:00:00 2001 From: swastik959 Date: Sun, 10 Mar 2024 20:26:00 +0530 Subject: [PATCH] added namespace manifest Signed-off-by: swastik959 --- demo/istio/bootstrap.sh | 2 -- demo/istio/manifests/echo-service.yaml | 9 +++++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/demo/istio/bootstrap.sh b/demo/istio/bootstrap.sh index 8dee3c5..d00494f 100755 --- a/demo/istio/bootstrap.sh +++ b/demo/istio/bootstrap.sh @@ -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 diff --git a/demo/istio/manifests/echo-service.yaml b/demo/istio/manifests/echo-service.yaml index 25b810f..e4bfc8d 100644 --- a/demo/istio/manifests/echo-service.yaml +++ b/demo/istio/manifests/echo-service.yaml @@ -1,3 +1,12 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: my-istio-namespace + labels: + istio-injection: enabled + +--- + apiVersion: apps/v1 kind: Deployment metadata: