|
| 1 | +// Module included in the following assemblies: |
| 2 | +// |
| 3 | +// * installing/acs-default-requirements.adoc |
| 4 | +:_mod-docs-content-type: CONCEPT |
| 5 | +[id="external-db-req_{context}"] |
| 6 | += Requirements for using an external database |
| 7 | + |
| 8 | +[role="_abstract"] |
| 9 | +You can configure {product-title} Central services to use an external PostgreSQL-compatible database for data persistence instead of deploying its own database pod. |
| 10 | + |
| 11 | +[IMPORTANT] |
| 12 | +==== |
| 13 | +When you use an external database, note the following guidance: |
| 14 | +
|
| 15 | +* The database infrastructure manages persistent storage for Central DB. Therefore, do not configure persistence settings for the Central DB within the {product-title-short} installation configuration. |
| 16 | +* Red Hat supports the configuration and operation of {product-title-short} Central connected to that database. However, support for database-specific operations such as backup and restore, performance diagnosis and potential tuning, software and version upgrades, and high availability/disaster recovery operation falls under third-party support. Manually upgrading or customizing your database outside of a full platform upgrade also limits supportability. |
| 17 | +==== |
| 18 | + |
| 19 | +If you select an external database, your database instance and the user connecting to it must meet the requirements listed in the following sections. |
| 20 | + |
| 21 | +[discrete] |
| 22 | +== Database type and version |
| 23 | +The database must be a PostgreSQL-compatible database that supports PostgreSQL 13 or later. |
| 24 | + |
| 25 | +[discrete] |
| 26 | +== User permissions |
| 27 | +The user account that Central uses to connect to the database must be a `superuser` account with connection rights to the database and the following permissions: |
| 28 | + |
| 29 | +* `Usage` and `Create` permissions on the schema. |
| 30 | +* `Select`, `Insert`, `Update`, and `Delete` permissions on all tables in the schema. |
| 31 | +* `Usage` permissions on all sequences in the schema. |
| 32 | +* The ability to create and delete databases as a `superuser`. |
| 33 | + |
| 34 | +[discrete] |
| 35 | +== Connection string |
| 36 | +Central connects to the external database by using a connection string, which must be in `keyword=value` format. The connection string should specify details such as the host, port, database name, user, and SSL/TLS mode. For example, `host=<host> port=5432 database=stackrox user=stackrox sslmode=verify-ca`. |
| 37 | + |
| 38 | +[NOTE] |
| 39 | +==== |
| 40 | +Connections through *PgBouncer* are not supported. |
| 41 | +==== |
| 42 | + |
| 43 | +[discrete] |
| 44 | +== CA certificates |
| 45 | +If your external database uses a certificate issued by a private or untrusted Certificate Authority (CA), you might need to specify the CA certificate so that Central trusts the database certificate. You can add this by using a TLS block in the Central custom resource configuration. |
0 commit comments