[bitnami/mongodb-sharded] Release 6.0.10-debian-11-r10 (#49769)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot 2023-09-24 23:27:29 +02:00 committed by GitHub
parent 2d287d3500
commit 8306f3af7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 5 deletions

View File

@ -7,10 +7,10 @@ ARG TARGETARCH
LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
org.opencontainers.image.created="2023-09-21T20:18:45Z" \
org.opencontainers.image.created="2023-09-23T21:09:40Z" \
org.opencontainers.image.description="Application packaged by VMware, Inc" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="6.0.10-debian-11-r8" \
org.opencontainers.image.ref.name="6.0.10-debian-11-r10" \
org.opencontainers.image.title="mongodb-sharded" \
org.opencontainers.image.vendor="VMware, Inc." \
org.opencontainers.image.version="6.0.10"

View File

@ -488,9 +488,15 @@ mongodb_set_journal_conf() {
local mongodb_conf
if ! mongodb_is_file_external "$conf_file_name"; then
if [[ -n "$MONGODB_ENABLE_JOURNAL" ]]; then
mongodb_conf="$(sed -E "/^ *journal:/,/^ *[^:]*:/s/enabled:.*/enabled: $({ is_boolean_yes "$MONGODB_ENABLE_JOURNAL" && echo 'true'; } || echo 'false')/" "$conf_file_path")"
# Disable journal.enabled since it is not supported from 7.0 on
if [[ "$(mongodb_get_version)" =~ ^7\..\. ]]; then
mongodb_conf="$(sed '/journal:/,/enabled: .*/d' "$conf_file_path")"
echo "$mongodb_conf" >"$conf_file_path"
else
if [[ -n "$MONGODB_ENABLE_JOURNAL" ]]; then
mongodb_conf="$(sed -E "/^ *journal:/,/^ *[^:]*:/s/enabled:.*/enabled: $({ is_boolean_yes "$MONGODB_ENABLE_JOURNAL" && echo 'true'; } || echo 'false')/" "$conf_file_path")"
echo "$mongodb_conf" >"$conf_file_path"
fi
fi
else
debug "$conf_file_name mounted. Skipping setting log settings"

View File

@ -2,4 +2,3 @@ rolling-tags:
- "6.0"
- 6.0-debian-11
- 6.0.10
- latest