File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,14 @@ or cluster.
44
44
the console, to avoid inadvertently storing credentials in shell history
45
45
files.
46
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
+
47
55
1 . Get the port number for your PostgreSQL instance:
48
56
49
57
``` sql
You can’t perform that action at this time.
0 commit comments