From f8baeedba3ac541c782c1438cf5bfcaab74987e2 Mon Sep 17 00:00:00 2001 From: muken Date: Sun, 28 Jun 2026 06:38:07 -0500 Subject: [PATCH] Fix syntax error in deploy-db.sh script --- deploy-db.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/deploy-db.sh b/deploy-db.sh index b679da1..09c81bb 100755 --- a/deploy-db.sh +++ b/deploy-db.sh @@ -10,8 +10,7 @@ PVC_NAME="postgres-data" # Generate a secure random password if secret doesn't exist yet if ! kubectl get secret "$SECRET_NAME" -n "$NAMESPACE" >/dev/null 2>&1; then echo "==> Generating database password ..." - PASSWORD=*** 75d7 | base64 | head -c 32 | tr -d ' -' + PASSWORD=$(openssl rand -base64 32 | tr -d '\n') DATABASE_URL="postgres://lahuasca:$PASSWORD@postgres.$NAMESPACE.svc.cluster.local:5432/lahuasca" kubectl create secret generic "$SECRET_NAME" \