Skip to content

Commit

Permalink
Review Remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
ralikio committed Mar 27, 2024
1 parent 0df5276 commit a6345aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/user/02-11-examples.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Sap BTP Service Operator Examples
# SAP BTP Service Operator Examples

This document describes notable features shipped with new SAP BTP service operator upgrades discovered during the application of latest versions.

## Secret Templates

Version 0.6.1 introduced a Secret templates feature that allows for modification of Secret's content that is normally generated from a ServiceBinding instance created for any service. You can now specify a Go template as a value of the **secretTemplate** field inside the binding's spec section. Inside the template, you can refer (by using `{{}}` syntax) to credentials stored inside of a ServiceBinding (with `{{credentials.<key>}}`) or information of a given instance (with `{{instance.<key>}}`). The parameters that can be used with the `instance` key are limited to the values set in the [getInstanceInfo](https://github.com/SAP/sap-btp-service-operator/blob/8c0a3d7d7ca54e44143c0e0b7d1e1ef206b362ab/controllers/servicebinding_controller.go#L819) method. Here is an example of a ServiceBinding with the **secretTemplate** field:
Version 0.6.1 introduced a Secret templates feature that allows for modification of a Secret's content that is normally generated from a ServiceBinding instance created for any service. You can now specify a Go template as a value of the **secretTemplate** field inside the binding's spec section. Inside the template, you can refer (by using `{{}}` syntax) to credentials stored inside of a ServiceBinding (with `{{credentials.<key>}}`) or information of a given instance (with `{{instance.<key>}}`). The parameters that can be used with the `instance` key are limited to the values set in the [getInstanceInfo](https://github.com/SAP/sap-btp-service-operator/blob/8c0a3d7d7ca54e44143c0e0b7d1e1ef206b362ab/controllers/servicebinding_controller.go#L819) method. Here is an example of a ServiceBinding with the **secretTemplate** field:

```
apiVersion: services.cloud.sap.com/v1
Expand Down

0 comments on commit a6345aa

Please sign in to comment.