Skip to content

Commit 75d6770

Browse files
committed
add modules in readme
1 parent 91104cb commit 75d6770

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

commerce-mock-lite/README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@ docker run -d \
2828

2929
To 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
3434
kubectl create namespace mocks
35+
kubectl label namespace mocks istio-injection=enabled --overwrite
3536
```
3637

3738
2. 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
5163
kubectl create namespace mocks
64+
kubectl label namespace mocks istio-injection=enabled --overwrite
5265
```
5366

5467
2. Deploy the mock:

0 commit comments

Comments
 (0)