|
| 1 | +--- |
| 2 | +title: Prepare and Install the OBaaS Database Helm chart |
| 3 | +sidebar_position: 9 |
| 4 | +--- |
| 5 | +## Prepare and Install the OBaaS Database Helm chart |
| 6 | + |
| 7 | +For this step, you will need the **obaas-db** directory in which you will see the following files: |
| 8 | + |
| 9 | +```bash |
| 10 | +cd obaas-db/ |
| 11 | +ls |
| 12 | +Chart.yaml scripts templates values.yaml |
| 13 | +``` |
| 14 | + |
| 15 | +You must edit the **values.yaml** file as follows: |
| 16 | + |
| 17 | +- If you are using a private repository, you must update each **image** entry to point to your private repository instead of the public repositories. |
| 18 | + |
| 19 | +- You must update the values in the **database.oci_config** section as follows: |
| 20 | + |
| 21 | + - The **oke** setting must be **false**. Setting this to true is not supported in 2.0.0-M3. |
| 22 | + |
| 23 | + - Supply your **tenancy**, **user** ocid, **fingerprint** and **region**. These must match the details you provided when you created the OCI configuration secret earlier. This information can be found in the OCI configuration file. |
| 24 | + |
| 25 | +- (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. |
| 26 | + |
| 27 | +**Important note**: Please pause to double check all of the values are correct. If there are any errors here, the database provisioning will fail. |
| 28 | + |
| 29 | +Install the Helm chart using the following command: |
| 30 | + |
| 31 | +```bash |
| 32 | +helm --debug install obaas-db --set global.obaasName="obaas-dev" --set global.targetNamespace="obaas-dev" ./ |
| 33 | +NAME: obaas-db |
| 34 | +LAST DEPLOYED: Sun Aug 17 13:09:20 2025 |
| 35 | +NAMESPACE: default |
| 36 | +STATUS: deployed |
| 37 | +REVISION: 1 |
| 38 | +TEST SUITE: None |
| 39 | +``` |
| 40 | + |
| 41 | +When the installation has completed, you can use `helm ls` command to view the installed charts: |
| 42 | + |
| 43 | +```text |
| 44 | +NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION |
| 45 | +obaas-db default 1 2025-09-12 13:51:23.751199 -0500 CDT deployed OBaaS-db-0.1.0 2.0.0-M3 |
| 46 | +obaas-observability default 1 2025-09-12 13:45:43.113298 -0500 CDT deployed OBaaS-observability-0.1.0 2.0.0-M3 |
| 47 | +obaas-prereqs default 1 2025-09-12 13:37:16.026781 -0500 CDT deployed OBaaS-Prerequisites-0.0.1 2.0.0-M3 |
| 48 | +``` |
| 49 | + |
| 50 | +If you overrode the namespace for this component, you will see a new namespace called **oracle-database-operator-system** (for example) and the following pods. Otherwise the pods will be in the **obaas-dev** namespace (or whatever name you chose). |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | +**Note**: If you are installing multiple OBaaS instances in your cluster, each one MUST have a different release name, `obaasName` and `targetNamespace`. For example: |
| 55 | + |
| 56 | +```bash |
| 57 | +# for obaas-dev: |
| 58 | +helm install obaas-db --set global.obaasName="obaas-dev" |
| 59 | +--set global.targetNamespace="obaas-dev" ./ |
| 60 | + |
| 61 | +# for obaas-prod |
| 62 | +helm install obaas-prod-db --set global.obaasName="obaas-prod" |
| 63 | +--set global.targetNamespace="obaas-prod" ./ |
| 64 | +``` |
0 commit comments