Skip to content

Commit 41c7bde

Browse files
ereaddustinmm80
andcommitted
Merge branch '3767-postgres-pw-special-chars' into 'master'
Document quoting for gitlab-ctl pg-password-md5 command Closes #3767 See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7194 Merged-by: Evan Read <[email protected]> Approved-by: Evan Read <[email protected]> Approved-by: Andrew Patterson <[email protected]> Co-authored-by: dustinmm80 <[email protected]>
2 parents 260f08f + 447eade commit 41c7bde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/settings/database.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,8 @@ The following settings are affected in the `postgresql` block:
321321
postgresql['trust_auth_cidr_addresses'] = %w(127.0.0.1/24)
322322
postgresql['sql_user'] = "gitlab"
323323
324-
##! SQL_USER_PASSWORD_HASH can be generated using the command `gitlab-ctl pg-password-md5 gitlab`,
325-
##! where `gitlab` is the name of the SQL user that connects to GitLab.
324+
##! SQL_USER_PASSWORD_HASH can be generated using the command `gitlab-ctl pg-password-md5 'gitlab'`,
325+
##! where 'gitlab' (single-quoted to avoid shell interpolation) is the name of the SQL user that connects to GitLab.
326326
postgresql['sql_user_password'] = "SQL_USER_PASSWORD_HASH"
327327
328328
# force ssl on all connections defined in trust_auth_cidr_addresses and md5_auth_cidr_addresses

0 commit comments

Comments
 (0)