[bitnami/kafka] Release 3.3.1-debian-11-r33 (#19929)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot 2023-01-12 04:02:25 +01:00 committed by GitHub
parent 9e1e6f5dbc
commit 77b41adbea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 7 deletions

View File

@ -5,7 +5,8 @@ ARG TARGETARCH
LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \
org.opencontainers.image.description="Application packaged by Bitnami" \
org.opencontainers.image.ref.name="3.3.1-debian-11-r32" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="3.3.1-debian-11-r33" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/kafka" \
org.opencontainers.image.title="kafka" \
org.opencontainers.image.vendor="VMware, Inc." \

View File

@ -31,7 +31,7 @@ get_sematic_version () {
while [[ $i -lt $n ]]; do
if [[ -n "${BASH_REMATCH[$i]}" ]] && [[ "${BASH_REMATCH[$i]:0:1}" != '.' ]]; then
version_sections[$j]=${BASH_REMATCH[$i]}
version_sections[j]="${BASH_REMATCH[$i]}"
((j++))
fi
((i++))

View File

@ -270,12 +270,12 @@ kafka_validate() {
if [[ -n "$KAFKA_CFG_PROCESS_ROLES" ]]; then
old_IFS=$IFS
IFS=','
read -a roles <<< "$KAFKA_CFG_PROCESS_ROLES"
read -r -a roles <<< "$KAFKA_CFG_PROCESS_ROLES"
IFS=${old_IFS}
controller_exists=false
for val in "${roles[@]}";
do
if [ $val == "controller" ]; then
if [[ "$val" == "controller" ]]; then
controller_exists=true
break
fi
@ -289,7 +289,7 @@ kafka_validate() {
if [[ -n "$KAFKA_CFG_LISTENERS" ]]; then
old_IFS=$IFS
IFS=','
read -a listener <<< "$KAFKA_CFG_LISTENERS"
read -r -a listener <<< "$KAFKA_CFG_LISTENERS"
IFS=${old_IFS}
controller_exists=false
for val in "${listener[@]}";
@ -424,7 +424,7 @@ KafkaServer {
user_${KAFKA_INTER_BROKER_USER:-}="${KAFKA_INTER_BROKER_PASSWORD:-}"
EOF
for ((i = 0; i < ${#users[@]}; i++)); do
if [[ "$i" -eq "(( ${#users[@]} - 1 ))" ]]; then
if [[ "$i" = "$(( ${#users[@]} - 1 ))" ]]; then
cat >>"${KAFKA_CONF_DIR}/kafka_jaas.conf" <<EOF
user_${users[i]:-}="${passwords[i]:-}";
EOF
@ -454,7 +454,7 @@ KafkaServer {
EOF
if [[ "${KAFKA_CFG_SASL_ENABLED_MECHANISMS:-}" =~ PLAIN ]]; then
for ((i = 0; i < ${#users[@]}; i++)); do
if [[ "$i" -eq "(( ${#users[@]} - 1 ))" ]]; then
if [[ "$i" = "$(( ${#users[@]} - 1 ))" ]]; then
cat >>"${KAFKA_CONF_DIR}/kafka_jaas.conf" <<EOF
user_${users[i]:-}="${passwords[i]:-}";
EOF