-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updating the documentation related to connectivity service #1655
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -300,7 +300,6 @@ You can use the following services in your configuration: | |
| **xsuaa** | Enables the creation of a XSUAA service instance. See details for [Node.js](../../node.js/authentication) and [Java](../../java/security) projects. | | | ||
| parameters → xsappname | Name of XSUAA application. Overwrites the value from the _xs-security.json_ file. (unique per subaccount) | <X/> | | ||
| parameters → HTML5Runtime_enabled | Set to true for use with Launchpad Service | | | ||
| **connectivity** | Enables [on-premise connectivity](#connectivity-service) | | | ||
| **event-mesh** | Enables SAP Event Mesh; [messaging guide](../messaging/), [how to enable the SAP Event Mesh](../messaging/event-mesh) | | | ||
| **html5-apps-repo-host** | HTML5 Application Repository | | | ||
| **hana** | HDI Shared Container | | | ||
|
@@ -367,44 +366,6 @@ backendDestinations: | |
|
||
> Our helm chart will remove the `external` key and add the rest of the keys as-is to the environment variable. | ||
|
||
#### Connectivity Service | ||
|
||
Use `cds add connectivity`, to add a volume to your `srv` deployment. | ||
::: warning | ||
Create an instance of the SAP BTP Connectivity service with plan `connectivity_proxy` and a service binding, before deploying the first application that requires it. Using this plan, a proxy to the connectivity service gets installed into your Kyma cluster. This may take a few minutes. The connectivity proxy uses the first created instance in a cluster for authentication. This instance must not be deleted as long as connectivity is used. | ||
::: | ||
|
||
The volume you've added to your `srv` deployment is needed, to add additional connection information, compared to what's available from the service binding. | ||
|
||
```yaml | ||
srv: | ||
... | ||
additionalVolumes: | ||
- name: connectivity-secret | ||
volumeMount: | ||
mountPath: /bindings/connectivity | ||
readOnly: true | ||
projected: | ||
sources: | ||
- secret: | ||
name: <your-connectivity-binding> | ||
optional: false | ||
- secret: | ||
name: <your-connectivity-binding> | ||
optional: false | ||
items: | ||
- key: token_service_url | ||
path: url | ||
- configMap: | ||
name: "RELEASE-NAME-connectivity-proxy-info" | ||
optional: false | ||
``` | ||
|
||
In the volumes added, replace the value of `<your-connectivity-binding>` with the binding that you created earlier. If the binding is created in a different namespace then you need to create a secret with details from the binding and use that secret. | ||
::: tip | ||
You don't have to edit `RELEASE-NAME` in the `configMap` property. It is passed as a template string and will be replaced with your actual release name by Helm. | ||
::: | ||
|
||
#### Arbitrary Service | ||
|
||
These are the steps to create and bind to an arbitrary service, using the binding of the feature toggle service to the CAP application as an example: | ||
|
@@ -500,10 +461,41 @@ You can run `cds add helm` again to update your Helm chart. It has the following | |
|
||
### SAP BTP Services and Features | ||
|
||
You can find a list of SAP BTP services in the [Discovery Center](https://discovery-center.cloud.sap/viewServices?provider=all®ions=all&showFilters=true). To find out if a service is supported in the Kyma and Kubernetes environment, goto to the **Service Marketplace** of your Subaccount in the SAP BTP Cockpit and select Kyma or Kubernetes in the environment filter. | ||
You can find a list of SAP BTP services in the [Discovery Center](https://discovery-center.cloud.sap/viewServices?provider=all®ions=all&showFilters=true). To find out if a service is supported in the Kyma and Kubernetes environment, go to the **Service Marketplace** of your Subaccount in the SAP BTP Cockpit and select Kyma or Kubernetes in the environment filter. | ||
|
||
You can find information about planned SAP BTP, Kyma Runtime features in the [product road map](https://roadmaps.sap.com/board?PRODUCT=73554900100800003012&PRODUCT=73554900100800003012). | ||
|
||
#### Connectivity Service | ||
|
||
To access the Connectivity Service, add the following modules in your Kyma Cluster: | ||
|
||
- connectivity-proxy | ||
- transparent-proxy | ||
- istio | ||
|
||
You can do that using the `kubectl` CLI: | ||
|
||
```sh | ||
kubectl edit kyma default -n kyma-system | ||
``` | ||
|
||
Then, add the three modules: | ||
```yaml [editor] | ||
spec: | ||
modules: | ||
- name: connectivity-proxy | ||
- name: transparent-proxy | ||
- name: istio | ||
``` | ||
Comment on lines
+483
to
+489
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Which file is edited here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. And is this correct as I've done it here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @amitsahu01 Could you please check these updated changes and confirm. |
||
|
||
Finally, you should see a success message as follows: | ||
|
||
```sh | ||
kyma.operator.kyma-project.io/default edited | ||
``` | ||
|
||
[Learn more about adding modules, also from the Kyma Dashboard.](https://help.sap.com/docs/btp/sap-business-technology-platform/enable-and-disable-kyma-module?version=Cloud#loio1b548e9ad4744b978b8b595288b0cb5c){.learn-more} | ||
|
||
### Using Service Instance created on Cloud Foundry | ||
|
||
To bind service instances created on Cloud Foundry to a workload (`srv`, `hana-deployer`, `html5-deployer`, `approuter` or `sidecar`) in Kyma environment, do the following: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted to give the users one way right here. If you think this can be outdated quickly, we can remove it again. My impression was, that this would be rather stable.
Pls, overall check if this is done properly if one follows my description. I couldn't test it myself. I just used the linked docs to come up with this.