File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,11 @@ docker run -d \
2828
2929To run the mock using ` SAP Business Technology Platform, Kyma Runtime ` as a runtime environment, perform the following steps:
3030
31- 1 . Set up the Namespace :
31+ 1 . Set up the namespace :
3232
3333``` bash
3434kubectl create namespace mocks
35+ kubectl label namespace mocks istio-injection=enabled --overwrite
3536```
3637
37382 . Deploy the mock:
@@ -45,10 +46,22 @@ These commands expose the API of the mock via an `APIRule` resource and makes it
4546
4647## Run Commerce Mock on Kubernetes
4748
48- 1 . Set up the Namespace:
49+ 1 . Add the Istio and API Gateway modules:
50+
51+ ``` bash
52+ kubectl create ns kyma-system
53+ kubectl label namespace kyma-system istio-injection=enabled --overwrite
54+ kubectl apply -f https://github.com/kyma-project/istio/releases/latest/download/istio-manager.yaml
55+ kubectl apply -f https://github.com/kyma-project/istio/releases/latest/download/istio-default-cr.yaml
56+ kubectl apply -f https://github.com/kyma-project/api-gateway/releases/latest/download/api-gateway-manager.yaml
57+ kubectl apply -f https://github.com/kyma-project/api-gateway/releases/latest/download/apigateway-default-cr.yaml
58+ ```
59+
60+ 2 . Set up the namespace:
4961
5062``` bash
5163kubectl create namespace mocks
64+ kubectl label namespace mocks istio-injection=enabled --overwrite
5265```
5366
54672 . Deploy the mock:
You can’t perform that action at this time.
0 commit comments