[bitnami/cassandra] Release 4.1.5-debian-12-r5 (#69223)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot
2024-07-12 13:31:49 +02:00
committed by GitHub
parent 83d8ec38b2
commit 84427eb90a
2 changed files with 10 additions and 4 deletions

View File

@@ -8,11 +8,11 @@ ARG TARGETARCH
LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
org.opencontainers.image.created="2024-07-12T08:55:16Z" \
org.opencontainers.image.created="2024-07-12T10:48:29Z" \
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/cassandra/README.md" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="4.1.5-debian-12-r4" \
org.opencontainers.image.ref.name="4.1.5-debian-12-r5" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/cassandra" \
org.opencontainers.image.title="cassandra" \
org.opencontainers.image.vendor="Broadcom, Inc." \

View File

@@ -603,8 +603,14 @@ cassandra_setup_cluster() {
cassandra_yaml_set "listen_address" "$host"
cassandra_yaml_set "seeds" "$DB_SEEDS"
cassandra_yaml_set "start_rpc" "$DB_ENABLE_RPC" "no"
if [[ "$DB_FLAVOR" = "scylladb" ]]; then
# Ref: https://opensource.docs.scylladb.com/stable/cql/functions.html
cassandra_yaml_set "enable_user_defined_functions" "$DB_ENABLE_USER_DEFINED_FUNCTIONS" "no"
cassandra_yaml_set "enable_scripted_user_defined_functions" "$DB_ENABLE_SCRIPTED_USER_DEFINED_FUNCTIONS" "no"
else
# Ref: https://cassandra.apache.org/doc/stable/cassandra/configuration/cass_yaml_file.html#user_defined_functions_enabled
cassandra_yaml_set "user_defined_functions_enabled" "$DB_ENABLE_USER_DEFINED_FUNCTIONS" "no"
cassandra_yaml_set "scripted_user_defined_functions_enabled" "$DB_ENABLE_SCRIPTED_USER_DEFINED_FUNCTIONS" "no"
fi
cassandra_yaml_set "rpc_address" "$rpc_address"
cassandra_yaml_set "broadcast_rpc_address" "$host"
cassandra_yaml_set "endpoint_snitch" "$DB_ENDPOINT_SNITCH"