From b084a89165639734da1c76aaf0cee3a701fbbab3 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Sat, 24 Jun 2023 12:03:41 +0200 Subject: [PATCH] [bitnami/pgbouncer] Release 1.19.1-debian-11-r9 (#38767) Signed-off-by: Bitnami Containers --- bitnami/pgbouncer/1/debian-11/Dockerfile | 7 +++++-- .../1/debian-11/prebuildfs/opt/bitnami/scripts/libfs.sh | 2 +- .../1/debian-11/rootfs/opt/bitnami/scripts/libpgbouncer.sh | 2 +- bitnami/pgbouncer/README.md | 1 - 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/bitnami/pgbouncer/1/debian-11/Dockerfile b/bitnami/pgbouncer/1/debian-11/Dockerfile index 6ad06a5c795e..151e1f22694c 100644 --- a/bitnami/pgbouncer/1/debian-11/Dockerfile +++ b/bitnami/pgbouncer/1/debian-11/Dockerfile @@ -1,12 +1,15 @@ +# Copyright VMware, Inc. +# SPDX-License-Identifier: APACHE-2.0 + FROM docker.io/bitnami/minideb:bullseye ARG TARGETARCH LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \ - org.opencontainers.image.created="2023-06-21T09:23:50Z" \ + org.opencontainers.image.created="2023-06-24T09:43:40Z" \ org.opencontainers.image.description="Application packaged by VMware, Inc" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="1.19.1-debian-11-r8" \ + org.opencontainers.image.ref.name="1.19.1-debian-11-r9" \ org.opencontainers.image.title="pgbouncer" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="1.19.1" diff --git a/bitnami/pgbouncer/1/debian-11/prebuildfs/opt/bitnami/scripts/libfs.sh b/bitnami/pgbouncer/1/debian-11/prebuildfs/opt/bitnami/scripts/libfs.sh index 801b9412bd99..eb52f7644785 100644 --- a/bitnami/pgbouncer/1/debian-11/prebuildfs/opt/bitnami/scripts/libfs.sh +++ b/bitnami/pgbouncer/1/debian-11/prebuildfs/opt/bitnami/scripts/libfs.sh @@ -42,7 +42,7 @@ ensure_dir_exists() { local owner_user="${2:-}" local owner_group="${3:-}" - mkdir -p "${dir}" + [ -d "${dir}" ] || mkdir -p "${dir}" if [[ -n $owner_user ]]; then owned_by "$dir" "$owner_user" "$owner_group" fi diff --git a/bitnami/pgbouncer/1/debian-11/rootfs/opt/bitnami/scripts/libpgbouncer.sh b/bitnami/pgbouncer/1/debian-11/rootfs/opt/bitnami/scripts/libpgbouncer.sh index bfdd82248f09..cba0b0f4e49f 100644 --- a/bitnami/pgbouncer/1/debian-11/rootfs/opt/bitnami/scripts/libpgbouncer.sh +++ b/bitnami/pgbouncer/1/debian-11/rootfs/opt/bitnami/scripts/libpgbouncer.sh @@ -64,7 +64,7 @@ pgbouncer_validate() { fi fi - # HBA Checks + # HBA Checks if [[ "$PGBOUNCER_AUTH_TYPE" == "hba" ]] ; then if [[ -z "$PGBOUNCER_AUTH_HBA_FILE" ]]; then print_validation_error "A hba file was not provided. You need to set this value when specifying auth_type to hba" diff --git a/bitnami/pgbouncer/README.md b/bitnami/pgbouncer/README.md index bafa0961bc47..e9dda7daacdc 100644 --- a/bitnami/pgbouncer/README.md +++ b/bitnami/pgbouncer/README.md @@ -131,7 +131,6 @@ To expose the same database name as the backend, set `PGBOUNCER_DATABASE="$POSTG * `PGBOUNCER_DEFAULT_POOL_SIZE` : PgBouncer maximum server connections to allow per user/database pair. Default: **20**. * `PGBOUNCER_MIN_POOL_SIZE` : PgBouncer has at least this amount of open connections. Default: **0 (disabled)**. * `PGBOUNCER_RESERVE_POOL_SIZE` : PgBouncer allows this amount of additional connections. Default: **0 (disabled)**. -* `PGBOUNCER_RESERVE_POOL_TIMEOUT` : If a client has not been serviced in this time, use additional connections from the reserve pool. 0 disables. Default: **5.0** [seconds]. * `PGBOUNCER_IGNORE_STARTUP_PARAMETERS`: you can use this to set `ignore_startup_parameters` in the auto-generated `pgbouncer.ini`. This can be useful for solving certain connection issues. See config.html for more details. * `PGBOUNCER_SERVER_IDLE_TIMEOUT`: PgBouncer maximum time in seconds a server connection can be idle. If 0 then the timeout is disabled. Default: **600** * `PGBOUNCER_SERVER_RESET_QUERY`: PgBouncer query sent to server on connection release before making it available to other clients. Default: **DISCARD ALL**