Skip to content

Commit 31f2f4c

Browse files
committed
put back password
1 parent ee8fe79 commit 31f2f4c

File tree

1 file changed

+1
-1
lines changed
  • internal/controller/standalone_pgadmin

1 file changed

+1
-1
lines changed

internal/controller/standalone_pgadmin/pod.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ func startupScript(pgadmin *v1beta1.PGAdmin) []string {
270270
// - https://www.pgadmin.org/docs/pgadmin4/development/server_deployment.html#standalone-gunicorn-configuration
271271
// - https://docs.gunicorn.org/en/latest/configure.html
272272
var startScript = fmt.Sprintf(`
273-
export PGADMIN_SETUP_PASSWORD="admin"
273+
export PGADMIN_SETUP_PASSWORD="$(date +%%s | sha256sum | base64 | head -c 32)"
274274
PGADMIN_DIR=%s
275275
APP_RELEASE=$(cd $PGADMIN_DIR && python3 -c "import config; print(config.APP_RELEASE)")
276276

0 commit comments

Comments
 (0)