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: docs-source/site/docs/setup/obaas.md
+10-4Lines changed: 10 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,10 +20,16 @@ You must edit the **values.yaml** file as follows:
20
20
21
21
- (Optional) If you want to install any components in this chart into their own separate namespace, you can override the global namespace by setting a value in the **namespace** property inside the section for that component.
22
22
23
-
- You must provide the OCID of your ADB-S instance in the setting **database.oci_db.ocid**
24
-
- You must update the values in the **database.oci_config** section as follows:
25
-
- The **oke** setting must be **false**. Setting this to true is not supported in 2.0.0-M4.
26
-
- Supply your **tenancy**, **user ocid**, **fingerprint**, and **region**. These must match the details you provided when you created the OCI configuration secret earlier.
23
+
- (Optional) To use an existing Oracle database in your applications, set **database.enabled** to **true** and provide following configurations:
24
+
- If the database is an Oracle Autonomous Database in OCI and you want Oracle Database Operator to access and create **tns** and **wallet** secrets containing the connection information for the database:
25
+
- Provide **database.type** as **"ADB-S"**.
26
+
- You must provide the OCID of your ADB-S instance in the setting **database.oci_db.ocid**
27
+
- You must update the values in the **database.oci_config** section as follows:
28
+
- The **oke** setting must be **false**. Setting this to true is not supported in 2.0.0-M4.
29
+
- Supply your **tenancy**, **user ocid**, **fingerprint**, and **region**. These must match the details you provided when you created the OCI configuration secret earlier.
30
+
- If the database is not an Oracle Autonomous Database in OCI or you do not want Oracle Database Operator to create the **tns** secret containing the connection information for the database:
31
+
- Modify/Create the [Database Credentials Secret](./secrets.md#database-credentials-secret) to include the **dbhost** and **dbport** for the database instance.
32
+
- Leave **database.type** as blank.
27
33
28
34
**Important note**: Please pause to double check all of the values are correct. If there are any errors here, the OBaaS provisioning will fail.
Copy file name to clipboardExpand all lines: docs-source/site/docs/setup/secrets.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -168,6 +168,19 @@ metadata:
168
168
If you are planning to install multiple OBaaS instances, AND you want to use different databases, you need to create one of these secrets for EACH instance, and they must have different names.
169
169
:::
170
170
171
+
:::note
172
+
If you want to use an existing Oracle Database in your applications which is not deployed as an Oracle Autonomous Database in OCI or you do not want Oracle Database Operator to create/sync the **tns** secret containing the connection information for the database, provide the **dbhost** and **dbport** for the database instance while creating the secret as follows:.
173
+
```bash
174
+
kubectl create secret generic admin-user-authn \
175
+
--from-literal=username=ADMIN \
176
+
--from-literal=password="Welcome-12345" \
177
+
--from-literal=service="demo1_tp" \
178
+
--from-literal=dbname="demo1" \
179
+
--from-literal=dbhost="demodb.demohost" \
180
+
--from-literal=dbport="1522"
181
+
```
182
+
:::
183
+
171
184
### OCI Credentials Secret
172
185
173
186
Run the provided script to generate the appropriate command for you from your OCI configuration. Note: You must have a working OCI CLI configured with access to your tenancy and the region where you want to install, on the machine where you run this command. The python script generated a command that you need to execute. to create the key.
0 commit comments