4.4.13-debian-10-r9 release

This commit is contained in:
Bitnami Bot
2022-03-11 16:41:23 +00:00
parent a58e5a1622
commit a54db75a74
4 changed files with 12 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ RUN chmod g+rwX /opt/bitnami
COPY rootfs /
RUN /opt/bitnami/scripts/mongodb/postunpack.sh
ENV BITNAMI_APP_NAME="mongodb" \
BITNAMI_IMAGE_VERSION="4.4.13-debian-10-r8" \
BITNAMI_IMAGE_VERSION="4.4.13-debian-10-r9" \
PATH="/opt/bitnami/common/bin:/opt/bitnami/mongodb/bin:$PATH"
EXPOSE 27017

View File

@@ -1161,6 +1161,14 @@ mongodb_configure_secondary() {
error "Secondary node did not get marked as secondary"
exit 1
fi
# Mark node as readable. This is necessary in cases where the PVC is lost
if is_boolean_yes "$MONGODB_SET_SECONDARY_OK"; then
mongodb_execute_print_output "$MONGODB_INITIAL_PRIMARY_ROOT_USER" "$MONGODB_INITIAL_PRIMARY_ROOT_PASSWORD" "admin" <<EOF
rs.secondaryOk()
EOF
fi
fi
}

View File

@@ -55,6 +55,7 @@ mongodb_env_vars=(
MONGODB_INITIAL_PRIMARY_PORT_NUMBER
MONGODB_INITIAL_PRIMARY_ROOT_PASSWORD
MONGODB_INITIAL_PRIMARY_ROOT_USER
MONGODB_SET_SECONDARY_OK
MONGODB_PRIMARY_HOST
MONGODB_PRIMARY_PORT_NUMBER
MONGODB_PRIMARY_ROOT_PASSWORD
@@ -146,5 +147,6 @@ MONGODB_INITIAL_PRIMARY_ROOT_PASSWORD="${MONGODB_INITIAL_PRIMARY_ROOT_PASSWORD:-
export MONGODB_INITIAL_PRIMARY_ROOT_PASSWORD="${MONGODB_INITIAL_PRIMARY_ROOT_PASSWORD:-}"
MONGODB_INITIAL_PRIMARY_ROOT_USER="${MONGODB_INITIAL_PRIMARY_ROOT_USER:-"${MONGODB_PRIMARY_ROOT_USER:-}"}"
export MONGODB_INITIAL_PRIMARY_ROOT_USER="${MONGODB_INITIAL_PRIMARY_ROOT_USER:-root}"
export MONGODB_SET_SECONDARY_OK="${MONGODB_SET_SECONDARY_OK:-no}"
# Custom environment variables may be defined below

View File

@@ -49,7 +49,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t
* [`5.0`, `5.0-debian-10`, `5.0.6`, `5.0.6-debian-10-r36`, `latest` (5.0/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-mongodb/blob/5.0.6-debian-10-r36/5.0/debian-10/Dockerfile)
* [`4.4`, `4.4-debian-10`, `4.4.13`, `4.4.13-debian-10-r8` (4.4/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-mongodb/blob/4.4.13-debian-10-r8/4.4/debian-10/Dockerfile)
* [`4.4`, `4.4-debian-10`, `4.4.13`, `4.4.13-debian-10-r9` (4.4/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-mongodb/blob/4.4.13-debian-10-r9/4.4/debian-10/Dockerfile)
* [`4.2`, `4.2-debian-10`, `4.2.19`, `4.2.19-debian-10-r9` (4.2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-mongodb/blob/4.2.19-debian-10-r9/4.2/debian-10/Dockerfile)
Subscribe to project updates by watching the [bitnami/mongodb GitHub repo](https://github.com/bitnami/bitnami-docker-mongodb).