We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc1ccff commit 089544bCopy full SHA for 089544b
guides/deployments/postgres.md
@@ -44,6 +44,14 @@ or cluster.
44
the console, to avoid inadvertently storing credentials in shell history
45
files.
46
47
+ > Normally, we set the PostgreSQL password as an environment variable in the
48
+ > `coderd` deployment with a reference to the Kubernetes secret. If this is
49
+ > not desirable, you can instead mount the secret as a file which Coder will
50
+ > read at startup. To do this, set the Helm value `postgres.noPasswordEnv` to
51
+ > `true`. This will mount the secret under
52
+ > `/run/secrets/<.Values.postgres.passwordSecret>/password` and set the
53
+ > environment variable `DB_PASSWORD_PATH` for `coderd` to that value.
54
+
55
1. Get the port number for your PostgreSQL instance:
56
57
```sql
0 commit comments