From d2649ec5d4f77dc647b40ed0ab77d9b806f6e76c Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Mon, 7 Apr 2025 17:37:31 +0200 Subject: [PATCH] [bitnami/clickhouse-keeper] Release clickhouse-keeper-25.3.2-debian-12-r4 (#79914) Signed-off-by: Bitnami Bot --- bitnami/clickhouse-keeper/25/debian-12/Dockerfile | 4 ++-- .../opt/bitnami/scripts/clickhouse-keeper/postunpack.sh | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/bitnami/clickhouse-keeper/25/debian-12/Dockerfile b/bitnami/clickhouse-keeper/25/debian-12/Dockerfile index d37c7fddffae..e03b63933cd7 100644 --- a/bitnami/clickhouse-keeper/25/debian-12/Dockerfile +++ b/bitnami/clickhouse-keeper/25/debian-12/Dockerfile @@ -8,10 +8,10 @@ ARG TARGETARCH LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \ org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \ - org.opencontainers.image.created="2025-04-07T11:47:48Z" \ + org.opencontainers.image.created="2025-04-07T15:08:18Z" \ org.opencontainers.image.description="Application packaged by Broadcom, Inc." \ org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/clickhouse-keeper/README.md" \ - org.opencontainers.image.ref.name="25.3.2-debian-12-r3" \ + org.opencontainers.image.ref.name="25.3.2-debian-12-r4" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/clickhouse-keeper" \ org.opencontainers.image.title="clickhouse-keeper" \ org.opencontainers.image.vendor="Broadcom, Inc." \ diff --git a/bitnami/clickhouse-keeper/25/debian-12/rootfs/opt/bitnami/scripts/clickhouse-keeper/postunpack.sh b/bitnami/clickhouse-keeper/25/debian-12/rootfs/opt/bitnami/scripts/clickhouse-keeper/postunpack.sh index 9bbe2c708863..a0c0f8c43fc7 100755 --- a/bitnami/clickhouse-keeper/25/debian-12/rootfs/opt/bitnami/scripts/clickhouse-keeper/postunpack.sh +++ b/bitnami/clickhouse-keeper/25/debian-12/rootfs/opt/bitnami/scripts/clickhouse-keeper/postunpack.sh @@ -19,7 +19,7 @@ set -o pipefail ensure_user_exists "$CLICKHOUSE_DAEMON_USER" --group "$CLICKHOUSE_DAEMON_GROUP" --system # Create directories -for dir in "$CLICKHOUSE_KEEPER_DATA_DIR" "$CLICKHOUSE_KEEPER_COORD_LOGS_DIR" "$CLICKHOUSE_KEEPER_COORD_SNAPSHOTS_DIR" "$CLICKHOUSE_KEEPER_CONF_DIR" "$CLICKHOUSE_KEEPER_LOG_DIR" "$CLICKHOUSE_KEEPER_TMP_DIR" "/var/lib/clickhouse/coordination"; do +for dir in "$CLICKHOUSE_KEEPER_VOLUME_DIR" "$CLICKHOUSE_KEEPER_DATA_DIR" "$CLICKHOUSE_KEEPER_COORD_LOGS_DIR" "$CLICKHOUSE_KEEPER_COORD_SNAPSHOTS_DIR" "$CLICKHOUSE_KEEPER_CONF_DIR" "$CLICKHOUSE_KEEPER_LOG_DIR" "$CLICKHOUSE_KEEPER_TMP_DIR"; do ensure_dir_exists "$dir" configure_permissions_ownership "$dir" -d "775" -f "664" -u "$CLICKHOUSE_DAEMON_USER" -g "root" done @@ -45,8 +45,7 @@ xmlstarlet ed -L --insert "/clickhouse/keeper_server/raft_configuration/server/p # Add symlinks to the default paths to make a similar UX as the upstream ClickHouse Keeper configuration # https://github.com/ClickHouse/ClickHouse/blob/master/programs/keeper/keeper_config.xml -ln -s "$CLICKHOUSE_KEEPER_COORD_LOGS_DIR" "/var/lib/clickhouse/coordination/logs" -ln -s "$CLICKHOUSE_KEEPER_COORD_SNAPSHOTS_DIR" "/var/lib/clickhouse/coordination/snapshots" +ln -s "$CLICKHOUSE_KEEPER_VOLUME_DIR" "/var/lib/clickhouse-keeper" ln -s "$CLICKHOUSE_KEEPER_CONF_DIR" "/etc/clickhouse-keeper" ln -s "$CLICKHOUSE_KEEPER_LOG_DIR" "/var/log/clickhouse-keeper"