Skip to content
Success

Changes

Summary

  1. Simplify database verification with connection test (details)
Commit 161a2f528b333d7079a52f08f1f0956a64ede023 by persicowilliam
Simplify database verification with connection test

Replace individual database/user existence checks with a simple connection test.
If the connection succeeds, we know both database and user exist with correct permissions.
This approach is simpler and more reliable than trying to query pg_catalog tables.

Uses: docker exec -e PGPASSWORD psql -h localhost -U authentik -d authentik
This matches the working connection method verified earlier.
The file was modifiedJenkinsfile (diff)