Skip to content

Commit

Permalink
Add ability to set GSSAPI_SPN via env variable (#406)
Browse files Browse the repository at this point in the history
  • Loading branch information
andriisoldatenko authored Sep 12, 2022
1 parent 49b4af8 commit a9a670f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pgbouncer-krb/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ if [ ! -f ${PG_CONFIG_DIR}/pgbouncer.ini ]; then
cat <<EOF | sed '/^$/d' > "${PG_CONFIG_DIR}/pgbouncer.ini"
################## Auto generated ##################
[databases]
${DB_NAME:-*} = host=${DB_HOST:?"Setup pgbouncer config error! You must set DB_HOST env"} port=${DB_PORT:-5432} user=${DB_USER:-postgres}
${DB_NAME:-*} = host=${DB_HOST:?"Setup pgbouncer config error! You must set DB_HOST env"} port=${DB_PORT:-5432} user=${DB_USER:-postgres} gssapi_spn=${GSSAPI_SPN:?"Setup pgbouncer config error! You must set GSSAPI_SPN env"}
${CLIENT_ENCODING:+client_encoding = ${CLIENT_ENCODING}}
[pgbouncer]
listen_addr = ${LISTEN_ADDR:-0.0.0.0}
Expand Down
2 changes: 1 addition & 1 deletion pgbouncer-krb/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.17.0-1
1.17.0-2

0 comments on commit a9a670f

Please sign in to comment.