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
RHDH supports PostgreSQL as the backend database. Configure it in your `app-config.yaml`:
6
+
7
+
```yaml
8
+
backend:
9
+
database:
10
+
client: pg
11
+
connection:
12
+
host: ${POSTGRES_HOST}
13
+
port: ${POSTGRES_PORT}
14
+
user: ${POSTGRES_USER}
15
+
password: ${POSTGRES_PASSWORD}
16
+
database: ${POSTGRES_DB}
17
+
```
18
+
19
+
## Plugin Division Mode: Schema
20
+
21
+
By default, RHDH creates a separate database for each plugin (e.g., `backstage_plugin_catalog`, `backstage_plugin_scaffolder`). This requires the database user to have `CREATEDB` privileges.
22
+
23
+
For environments with strict security policies that prohibit database creation, use `pluginDivisionMode: schema` to isolate plugins using PostgreSQL schemas within a single database:
24
+
25
+
```yaml
26
+
backend:
27
+
database:
28
+
client: pg
29
+
pluginDivisionMode: schema
30
+
connection:
31
+
host: ${POSTGRES_HOST}
32
+
port: ${POSTGRES_PORT}
33
+
user: ${POSTGRES_USER}
34
+
password: ${POSTGRES_PASSWORD}
35
+
database: ${POSTGRES_DB}
36
+
```
37
+
38
+
**Note:** By default, RHDH automatically creates the required schemas. If your database user lacks `CREATE SCHEMA` privileges, add `ensureSchemaExists: false` to the database configuration and ensure all required schemas are created upfront by your database administrator.
39
+
40
+
### Verification
41
+
42
+
After RHDH starts with `pluginDivisionMode: schema`, verify schemas were created:
43
+
44
+
**Connect to PostgreSQL:**
45
+
```bash
46
+
psql -U postgres
47
+
```
48
+
49
+
**List all schemas:**
50
+
```sql
51
+
\dn
52
+
```
53
+
54
+
**Expected output:** Should show schemas named after plugin IDs:
Copy file name to clipboardExpand all lines: docs/e2e-tests/CI.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,11 +100,11 @@ The nightly job for the `main` branch also runs against three OpenShift Containe
100
100
101
101
Localization tests verify that the RHDH UI displays correctly translated strings for supported languages. These tests run as part of the OCP Helm nightly job.
102
102
103
-
-**Supported Languages:** French (fr), Italian (it), and Japanese (ja)
103
+
-**Supported Languages:**German (de), Spanish (es), French (fr), Italian (it), and Japanese (ja)
104
104
-**When They Run:** Localization tests run at the end of the OCP nightly job, after standard deployment tests, runtime config tests, and sanity plugin checks.
105
105
-**Skip Condition:** Localization tests are **skipped for OSD-GCP jobs** due to environment constraints.
106
106
-**Reuses Existing Deployment:** The tests run against the same RHDH instance deployed for standard tests, so no additional deployment is needed.
0 commit comments