Clarifying root and non-root Postgres users (#3899)

This commit is contained in:
Kartik Balasubramanian 2025-11-20 12:14:21 +00:00 committed by GitHub
parent 674c634485
commit 6b90d75a3b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -75,6 +75,8 @@ Postgres needs some environment variables set to pass to the application running
The example `postgres-secret.yaml` file contains placeholders you need to replace with values of your own for user details and the database to use.
PostgreSQL uses a root user (`POSTGRES_USER`) for setup and administration, but its best practice to create a separate non-root user (`POSTGRES_NON_ROOT_USER`) for n8n. The root user has full control, while n8n only needs the non-root user permissions to run. Configuring both improves security and helps prevent accidental changes to the database system.
The `postgres-deployment.yaml` manifest then uses the values from this manifest file to send to the application pods.
## Configure n8n