[bitnami/mariadb] Release 10.4.28-debian-11-r26 (#32890)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot
2023-05-06 09:40:39 +01:00
committed by GitHub
parent c6ca34e40e
commit cf7aea02e2
4 changed files with 15 additions and 7 deletions
+3 -4
View File
@@ -2,12 +2,11 @@ FROM docker.io/bitnami/minideb:bullseye
ARG TARGETARCH ARG TARGETARCH
LABEL com.vmware.cp.artifact.flavor="sha256:109c7d51bd69bb6b3df71017440c1ea0699454f81fe188056c083f0b57c96ea6" \ LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \ org.opencontainers.image.created="2023-05-06T08:21:46Z" \
org.opencontainers.image.created="2023-05-03T08:04:27Z" \
org.opencontainers.image.description="Application packaged by VMware, Inc" \ org.opencontainers.image.description="Application packaged by VMware, Inc" \
org.opencontainers.image.licenses="Apache-2.0" \ org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="10.4.28-debian-11-r25" \ org.opencontainers.image.ref.name="10.4.28-debian-11-r26" \
org.opencontainers.image.title="mariadb" \ org.opencontainers.image.title="mariadb" \
org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.vendor="VMware, Inc." \
org.opencontainers.image.version="10.4.28" org.opencontainers.image.version="10.4.28"
@@ -412,11 +412,16 @@ generate_random_string() {
ascii) ascii)
filter="[:print:]" filter="[:print:]"
;; ;;
numeric)
filter="0-9"
;;
alphanumeric) alphanumeric)
filter="a-zA-Z0-9" filter="a-zA-Z0-9"
;; ;;
numeric) alphanumeric+special|special+alphanumeric)
filter="0-9" # Limit variety of special characters, so there is a higher chance of containing more alphanumeric characters
# Special characters are harder to write, and it could impact the overall UX if most passwords are too complex
filter='a-zA-Z0-9!@#$%^'
;; ;;
*) *)
echo "Invalid type ${type}" >&2 echo "Invalid type ${type}" >&2
@@ -200,6 +200,7 @@ CHANGE MASTER TO MASTER_HOST='$DB_MASTER_HOST',
MASTER_PORT=$DB_MASTER_PORT_NUMBER, MASTER_PORT=$DB_MASTER_PORT_NUMBER,
MASTER_USER='$DB_REPLICATION_USER', MASTER_USER='$DB_REPLICATION_USER',
MASTER_PASSWORD='$DB_REPLICATION_PASSWORD', MASTER_PASSWORD='$DB_REPLICATION_PASSWORD',
MASTER_DELAY=$DB_MASTER_DELAY,
MASTER_CONNECT_RETRY=10; MASTER_CONNECT_RETRY=10;
EOF EOF
elif [[ "$DB_REPLICATION_MODE" = "master" ]]; then elif [[ "$DB_REPLICATION_MODE" = "master" ]]; then
@@ -33,6 +33,7 @@ mariadb_env_vars=(
MARIADB_MASTER_PORT_NUMBER MARIADB_MASTER_PORT_NUMBER
MARIADB_MASTER_ROOT_USER MARIADB_MASTER_ROOT_USER
MARIADB_MASTER_ROOT_PASSWORD MARIADB_MASTER_ROOT_PASSWORD
MARIADB_MASTER_DELAY
MARIADB_REPLICATION_USER MARIADB_REPLICATION_USER
MARIADB_REPLICATION_PASSWORD MARIADB_REPLICATION_PASSWORD
MARIADB_PORT_NUMBER MARIADB_PORT_NUMBER
@@ -120,6 +121,8 @@ export MARIADB_MASTER_ROOT_USER="${MARIADB_MASTER_ROOT_USER:-root}"
export DB_MASTER_ROOT_USER="$MARIADB_MASTER_ROOT_USER" # only used during the first initialization export DB_MASTER_ROOT_USER="$MARIADB_MASTER_ROOT_USER" # only used during the first initialization
export MARIADB_MASTER_ROOT_PASSWORD="${MARIADB_MASTER_ROOT_PASSWORD:-}" export MARIADB_MASTER_ROOT_PASSWORD="${MARIADB_MASTER_ROOT_PASSWORD:-}"
export DB_MASTER_ROOT_PASSWORD="$MARIADB_MASTER_ROOT_PASSWORD" # only used during the first initialization export DB_MASTER_ROOT_PASSWORD="$MARIADB_MASTER_ROOT_PASSWORD" # only used during the first initialization
export MARIADB_MASTER_DELAY="${MARIADB_MASTER_DELAY:-0}"
export DB_MASTER_DELAY="$MARIADB_MASTER_DELAY" # only used during the first initialization
export MARIADB_REPLICATION_USER="${MARIADB_REPLICATION_USER:-}" export MARIADB_REPLICATION_USER="${MARIADB_REPLICATION_USER:-}"
export DB_REPLICATION_USER="$MARIADB_REPLICATION_USER" # only used during the first initialization export DB_REPLICATION_USER="$MARIADB_REPLICATION_USER" # only used during the first initialization
export MARIADB_REPLICATION_PASSWORD="${MARIADB_REPLICATION_PASSWORD:-}" export MARIADB_REPLICATION_PASSWORD="${MARIADB_REPLICATION_PASSWORD:-}"