Skip to content

Commit 58ae4db

Browse files
sathieuJonathan S. Katz
authored andcommitted
Allow overrides in install-bootstrap-creds.sh
Allows for for credential variables to be overridden during the bootstrapping process on certain install methods (i.e. for development purposes and OLM). These variables include: - `PGOADMIN_USERNAME` - `PGOADMIN_PASSWORD` - `PGOADMIN_ROLENAME`
1 parent 0648ee5 commit 58ae4db

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

deploy/install-bootstrap-creds.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ set -eu
1717

1818
# fill out these variables if you want to change the
1919
# default pgo bootstrap user and role
20-
PGOADMIN_USERNAME=admin
21-
PGOADMIN_PASSWORD=examplepassword
22-
PGOADMIN_ROLENAME=pgoadmin
20+
PGOADMIN_USERNAME="${PGOADMIN_USERNAME:-admin}"
21+
PGOADMIN_PASSWORD="${PGOADMIN_PASSWORD:-examplepassword}"
22+
PGOADMIN_ROLENAME="${PGOADMIN_ROLENAME:-pgoadmin}"
2323
PGOADMIN_PERMS="*"
2424

2525

0 commit comments

Comments
 (0)