Skip to content

Commit bb3570c

Browse files
authored
Merge pull request #912 from grego952/main
Update Kyma tutorials
2 parents bcf324b + 9329e22 commit bb3570c

File tree

4 files changed

+44
-10
lines changed

4 files changed

+44
-10
lines changed

tutorials/deploy-to-kyma/deploy-to-kyma.md

Lines changed: 39 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -399,11 +399,45 @@ Kyma runs on containers. Hence, for this tutorial, you'll need an application th
399399

400400
Check [Accessing Business Service UI](https://help.sap.com/docs/btp/sap-business-technology-platform/accessing-business-service-ui?locale=39723061bc4b4b679726b120cbefdf5a.html&q=base%20URL) for more information.
401401

402-
5. Create a new folder **ui-resources** in your project's root folder.
402+
5. Add navigation configuration and deploy configuration to the **app/incidents/webapp/manifest.json** file:
403+
404+
```json[9-22,25-28]
405+
{
406+
"_version": "1.49.0",
407+
"sap.app": {
408+
"id": "ns.incidents",
409+
...
410+
"dataSources": {
411+
...
412+
},
413+
"crossNavigation": {
414+
"inbounds": {
415+
"incidents-display": {
416+
"semanticObject": "incidents",
417+
"action": "display",
418+
"title": "{{flpTitle}}",
419+
"subTitle": "{{flpSubtitle}}",
420+
"signature": {
421+
"parameters": {},
422+
"additionalParameters": "allowed"
423+
}
424+
}
425+
}
426+
}
427+
},
428+
...
429+
"sap.cloud": {
430+
"public": true,
431+
"service": "incidents"
432+
}
433+
}
434+
```
435+
436+
6. Create a new folder **ui-resources** in your project's root folder.
403437
404438
The HTML5 applications deployer looks for the **ui-resources** folder which has the static files of the HTML5 application.
405439
406-
6. Create a new file **package.json** inside the **ui-resources** folder and add the following code to the file:
440+
7. Create a new file **package.json** inside the **ui-resources** folder and add the following code to the file:
407441
408442
```json
409443
{
@@ -432,21 +466,21 @@ Kyma runs on containers. Hence, for this tutorial, you'll need an application th
432466
433467
```
434468
435-
7. In the VS Code terminal, navigate to the **ui-resources** folder and run the following command:
469+
8. In the VS Code terminal, navigate to the **ui-resources** folder and run the following command:
436470
437471
```bash
438472
npm install && npm run package
439473
```
440474
441475
This will build and copy the archive **nsincidents.zip** inside the **ui-resources/resources** folder.
442476
443-
8. In the VS Code terminal, navigate back to the root folder of your project:
477+
9. In the VS Code terminal, navigate back to the root folder of your project:
444478
445479
```bash
446480
cd ..
447481
```
448482
449-
9. Build the UI deployer image:
483+
10. Build the UI deployer image:
450484
451485
```bash
452486
pack build <your-container-registry>/incident-management-html5-deployer:<image-version> \
-10.4 KB
Loading

tutorials/prepare-btp-kyma/prepare-btp-kyma.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ You need the SAP BTP Operator module to map your SAP HANA Cloud service instance
221221
222222
5. Under **Environment Instance ID**, paste the GUID of your Kyma cluster. Here's how to find it:
223223
224-
- Open you Kyma Console.
224+
- Open your Kyma dashboard.
225225
- Choose **Namespaces** on the left and choose **kyma-system**.
226226
- Navigate to **Configuration** &rarr; **Config Maps** and choose **sap-btp-operator-config**.
227227
- You can see the GUID of your Kyma cluster in the **CLUSTER_ID** section.
@@ -230,7 +230,7 @@ You need the SAP BTP Operator module to map your SAP HANA Cloud service instance
230230
231231
> If no namespace is provided, the instance is mapped to all namespaces in the cluster.
232232
233-
5. Choose **Review and Save** and then choose **Save Changes with Restart** in the popup.
233+
6. Choose **Review and Save**. In the popup, mark **Apply changes with a restart**, and choose **Save Changes**.
234234
235235
<!-- border; size:540px --> ![Save changes](./hana-save-mapping.png)
236236

tutorials/set-up-cicd-kyma/set-up-cicd-kyma.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ In this example, we'll be creating a repository on GitHub. You'll need a [GitHub
103103
104104
<!-- border; size:540px --> ![Continuous Integration and Delivery create service](./cicd-create-service.png)
105105
106-
3. Choose **Create** in the **New Instance or Subscription** popup, and select **default** from the **Plan** field.
106+
3. In the **New Instance or Subscription** popup select **default** from the **Plan** field.
107107
108108
4. Choose **View Subscription** and wait until the status changes to **Subscribed**.
109109
@@ -138,15 +138,15 @@ In this example, we'll be creating a repository on GitHub. You'll need a [GitHub
138138
139139
In order to run the pipeline using the SAP Continuous Integration and Delivery service, you need to create a service account. This is a non-human account that provides a distinct identity in your Kyma cluster. The service account will authenticate your CI/CD pipeline to access your Kyma cluster. See [Service Accounts](https://kubernetes.io/docs/concepts/security/service-accounts/).
140140
141-
1. Navigate to your subaccount and choose **Link to dashboard** under the **Kyma Environment** tab to open the Kyma Console.
141+
1. Navigate to your subaccount and choose **Link to dashboard** under the **Kyma Environment** tab to open Kyma dashboard.
142142
143143
<!-- border; size:540px --> ![Open Kyma console](./kyma-console.png)
144144
145145
2. Choose **Namespaces** &rarr; **Create**.
146146
147147
<!-- border; size:540px --> ![Create namespace](./create-namespace.png)
148148
149-
3. Enter a name for your namespace (for example, **incident-management-namespace**), switch the **Side Car Injection** toggle **ON**, and choose **Create**.
149+
3. Enter a name for your namespace (for example, **incident-management-namespace**), switch the **Enable Sidecar Injection** toggle **ON**, and choose **Create**.
150150
151151
<!-- border; size:540px --> ![Create namespace dialog](./create-namespace-dialog.png)
152152

0 commit comments

Comments
 (0)