You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials/btp-app-kyma-deploy-application/btp-app-kyma-deploy-application.md
+14-21Lines changed: 14 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,10 +71,8 @@ The configuration for XSUAA is read from the `xs-security.json` file that was cr
71
71
---
72
72
[ACCORDION-BEGIN [Step 2: ](Build docker images)]
73
73
74
-
[DONE]
75
-
[ACCORDION-END]
76
-
---
77
-
[ACCORDION-BEGIN [Step 3: ](Set the environment variable for the container registry)]
74
+
You need to set the environment variable for the container registry.
75
+
78
76
1. Open a terminal and run the following command:
79
77
80
78
```
@@ -86,7 +84,7 @@ The configuration for XSUAA is read from the `xs-security.json` file that was cr
86
84
[DONE]
87
85
[ACCORDION-END]
88
86
---
89
-
[ACCORDION-BEGIN [Step 4: ](CAP build)]
87
+
[ACCORDION-BEGIN [Step 3: ](CAP build)]
90
88
1. Execute the following command in your project folder:
91
89
92
90
```Shell/Bash
@@ -107,7 +105,7 @@ The configuration for XSUAA is read from the `xs-security.json` file that was cr
107
105
[DONE]
108
106
[ACCORDION-END]
109
107
---
110
-
[ACCORDION-BEGIN [Step 5: ](Build CAP service)]
108
+
[ACCORDION-BEGIN [Step 4: ](Build CAP service)]
111
109
1. Run the following command:
112
110
113
111
```Shell/Bash
@@ -125,7 +123,7 @@ The configuration for XSUAA is read from the `xs-security.json` file that was cr
125
123
[DONE]
126
124
[ACCORDION-END]
127
125
---
128
-
[ACCORDION-BEGIN [Step 6: ](Build DB deployer)]
126
+
[ACCORDION-BEGIN [Step 5: ](Build DB deployer)]
129
127
1. Run the following command:
130
128
131
129
```Shell/Bash
@@ -143,7 +141,7 @@ The configuration for XSUAA is read from the `xs-security.json` file that was cr
143
141
[DONE]
144
142
[ACCORDION-END]
145
143
---
146
-
[ACCORDION-BEGIN [Step 7: ](Push docker images)]
144
+
[ACCORDION-BEGIN [Step 6: ](Push docker images)]
147
145
Now that we've build the docker images, let's push them to the container registry.
148
146
149
147
1. Make sure you're logged in to your container registry:
@@ -162,7 +160,7 @@ Now that we've build the docker images, let's push them to the container registr
162
160
[DONE]
163
161
[ACCORDION-END]
164
162
---
165
-
[ACCORDION-BEGIN [Step 8: ](Deploy)]
163
+
[ACCORDION-BEGIN [Step 7: ](Deploy)]
166
164
1. Deploy your app:
167
165
168
166
```Shell/Bash
@@ -179,14 +177,13 @@ Now that we've build the docker images, let's push them to the container registr
179
177
180
178
If the error message "no healthy upstream" is shown, wait a few seconds and try again.
181
179
182
-
6. When you choose the **Mitigation** or **Risk** service entity, you will see an error message:
180
+
4. When you choose the **Mitigation** or **Risk** service entity, you will see an error message:
183
181
184
182
!
185
183
186
-
187
184
The service expects a so called `JWT` (JSON Web Token) in the HTTP `Authorization` header that contains the required authentication and authorization information to access the service. In the next tutorial, you will deploy the SAP Fiori UIs, so that you can access your UIs from SAP Fiori Launchpad. The Launchpad will trigger the authentication flow to provide the required token to access the service.
188
185
189
-
7. List installed helm charts:
186
+
5. List installed helm charts:
190
187
191
188
```Shell/Bash
192
189
helm list
@@ -199,18 +196,14 @@ Now that we've build the docker images, let's push them to the container registr
199
196
cpapp risk-management 5 yyyy-mm-dd time timezone deployed cpapp-1.0.0 1.0.0
200
197
```
201
198
202
-
[DONE]
203
-
[ACCORDION-END]
204
-
---
205
-
[ACCORDION-BEGIN [Step 9: ](Troubleshooting)]
206
-
The Helm chart starts a job that deploys the database content and a deployment with the CAP service. After successful execution, the job is deleted.
207
-
199
+
> Troubleshooting:
200
+
> The Helm chart starts a job that deploys the database content and a deployment with the CAP service. After successful execution, the job is deleted.
208
201
In case you encounter an error during the deployment process, follow the instructions to troubleshoot.
209
202
210
203
[DONE]
211
204
[ACCORDION-END]
212
205
---
213
-
[ACCORDION-BEGIN [Step 10: ](Check your database deployment)]
206
+
[ACCORDION-BEGIN [Step 8: ](Check your database deployment)]
214
207
```
215
208
kubectl get jobs
216
209
```
@@ -262,7 +255,7 @@ This is helpful if the pod couldn't be started.
262
255
[DONE]
263
256
[ACCORDION-END]
264
257
---
265
-
[ACCORDION-BEGIN [Step 11: ](Check SAP HANA cloud trusted IP addresses)]
258
+
[ACCORDION-BEGIN [Step 9: ](Check SAP HANA cloud trusted IP addresses)]
266
259
A possible error cause is that your SAP HANA Cloud instance doesn't allow your Kyma's cluster IP address.
267
260
268
261
You can check and adjust the settings for [the trusted source IP addresses](https://help.sap.com/docs/HANA_CLOUD/9ae9104a46f74a6583ce5182e7fb20cb/0610e4440c7643b48d869a6376ccaecd.html) in SAP HANA Cloud Central.
@@ -278,7 +271,7 @@ The command takes a few second to execute and will print a JSON object with an I
278
271
[DONE]
279
272
[ACCORDION-END]
280
273
---
281
-
[ACCORDION-BEGIN [Step 12: ](Check your CAP service)]
274
+
[ACCORDION-BEGIN [Step 10: ](Check your CAP service)]
282
275
If the deployment was successful, you should see the running CAP service in the list of pods:
0 commit comments