Fix syntax error in deploy-db.sh script

This commit is contained in:
2026-06-28 06:38:07 -05:00
parent a47f54d22b
commit f8baeedba3
+1 -2
View File
@@ -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" \