Skip to content

Commit c49f036

Browse files
Improve instance mapping guide (#100)
1 parent 9b8a3a6 commit c49f036

7 files changed

Lines changed: 15 additions & 10 deletions

File tree

docs/end-user-guides/instance-mapping.mdx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,14 @@ kubectl create -f cf-hana-instance-mapping.yaml
186186

187187
Your SAP HANA Cloud database is now mapped to the Cloud Foundry space and applications in that space can create HDI containers in your database.
188188

189-
If you [have a subscription to SAP HANA Cloud Administration Tools](/docs/crossplane-provider-btp/docs/end-user-guides/services/create-services#subscription), you can verify the creation of the instance mapping in the configuration of your SAP HANA Cloud instance:
189+
<details>
190+
<summary> Optional: Verify in SAP HANA Cloud Administration Tools</summary>
190191

191-
![Instance mapping in SAP HANA Cloud Administration Tools](/img/instance-mapping.png)
192+
If you [have a subscription to SAP HANA Cloud Administration Tools](/docs/crossplane-provider-btp/docs/end-user-guides/services/create-services#subscription) and [assigned yourself](/docs/crossplane-provider-btp/docs/end-user-guides/account/usermanagement#assign-users-and-user-groups-to-role-collections-) the "SAP HANA Cloud Viewer" or "SAP HANA Cloud Administrator" role collection, you can verify the creation of the instance mapping in the configuration of your SAP HANA Cloud instance:
193+
194+
![Instance mapping in SAP HANA Cloud Administration Tools](/img/instance-mapping.png)
195+
196+
</details>
192197

193198
## Create an instance mapping (Kyma)
194199

docs/end-user-guides/setup.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ data:
221221
username: REJBRE1JTg== # E.g. Base64-encode: DBADMIN
222222
password: Q2xvdWQtMTIzNDUh # Same password as set during service instance creation E.g. Base64-encode: Cloud-12345!
223223
---
224-
apiVersion: objects.hana.orchestrate.cloud.sap/v1alpha1
224+
apiVersion: hana.sap.crossplane.io/v1alpha1
225225
kind: ProviderConfig
226226
metadata:
227227
name: hana-providerconfig

docs/end-user-guides/table.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ See [full CRD reference](https://github.com/SAP/crossplane-provider-hana/tree/ma
5151
```
5252
5353
```yaml title="user.yaml"
54-
apiVersion: admin.hana.orchestrate.cloud.sap/v1alpha1
54+
apiVersion: admin.hana.sap.crossplane.io/v1alpha1
5555
kind: User
5656
metadata:
5757
name: liquibase-user
@@ -78,7 +78,7 @@ See [full CRD reference](https://github.com/SAP/crossplane-provider-hana/tree/ma
7878
Next, create the changelog schema and the managed schema:
7979

8080
```yaml title="changelog-schema.yaml"
81-
apiVersion: objects.hana.orchestrate.cloud.sap/v1alpha1
81+
apiVersion: schema.hana.sap.crossplane.io/v1alpha1
8282
kind: DbSchema
8383
metadata:
8484
name: liquibase-changelog-schema
@@ -91,7 +91,7 @@ See [full CRD reference](https://github.com/SAP/crossplane-provider-hana/tree/ma
9191
```
9292
9393
```yaml title="managed-schema.yaml"
94-
apiVersion: schema.hana.orchestrate.cloud.sap/v1alpha1
94+
apiVersion: schema.hana.sap.crossplane.io/v1alpha1
9595
kind: DbSchema
9696
metadata:
9797
name: liquibase-changelog-schema

docs/end-user-guides/users.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ See [full CRD reference](https://github.com/SAP/crossplane-provider-hana/tree/ma
2121
We begin by provisioning a `User` resource.
2222

2323
```yaml title="user.yaml"
24-
apiVersion: admin.hana.orchestrate.cloud.sap/v1alpha1
24+
apiVersion: admin.hana.sap.crossplane.io/v1alpha1
2525
kind: User
2626
metadata:
2727
name: my-orchestrated-user

examples/instancemapping/kymainstancemapping-example.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ data:
3434

3535
---
3636
# Step 2: ProviderConfig (placeholder - admin API credentials come from Kyma cluster)
37-
apiVersion: hana.orchestrate.cloud.sap/v1alpha1
37+
apiVersion: hana.sap.crossplane.io/v1alpha1
3838
kind: ProviderConfig
3939
metadata:
4040
name: default

examples/instancemapping/kymainstancemapping-local.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
---
1313
# Step 1: ProviderConfig (placeholder - admin API credentials come from ServiceBinding)
14-
apiVersion: hana.orchestrate.cloud.sap/v1alpha1
14+
apiVersion: hana.sap.crossplane.io/v1alpha1
1515
kind: ProviderConfig
1616
metadata:
1717
name: default

examples/instancemapping/providerconfig.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ stringData:
1717
endpoint: abc123-456.hanacloud.ondemand.com
1818
port: "443"
1919
---
20-
apiVersion: hana.orchestrate.cloud.sap/v1alpha1
20+
apiVersion: hana.sap.crossplane.io/v1alpha1
2121
kind: ProviderConfig
2222
metadata:
2323
name: default

0 commit comments

Comments
 (0)