We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee8fe79 commit 31f2f4cCopy full SHA for 31f2f4c
internal/controller/standalone_pgadmin/pod.go
@@ -270,7 +270,7 @@ func startupScript(pgadmin *v1beta1.PGAdmin) []string {
270
// - https://www.pgadmin.org/docs/pgadmin4/development/server_deployment.html#standalone-gunicorn-configuration
271
// - https://docs.gunicorn.org/en/latest/configure.html
272
var startScript = fmt.Sprintf(`
273
-export PGADMIN_SETUP_PASSWORD="admin"
+export PGADMIN_SETUP_PASSWORD="$(date +%%s | sha256sum | base64 | head -c 32)"
274
PGADMIN_DIR=%s
275
APP_RELEASE=$(cd $PGADMIN_DIR && python3 -c "import config; print(config.APP_RELEASE)")
276
0 commit comments