mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 06:47:30 +08:00
[bitnami/kafka] Fix Kafka log/logs dir config (#20476)
This commit is contained in:
committed by
GitHub
parent
3912649deb
commit
a36243d9d3
@@ -42,4 +42,4 @@ maintainers:
|
||||
name: kafka
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/kafka
|
||||
version: 26.6.0
|
||||
version: 26.6.1
|
||||
|
||||
@@ -598,7 +598,6 @@ Returns the controller quorum voters based on the number of controller-eligible
|
||||
Section of the server.properties configmap shared by both controller-eligible and broker nodes
|
||||
*/}}
|
||||
{{- define "kafka.commonConfig" -}}
|
||||
log.dir={{ printf "%s/data" .Values.controller.persistence.mountPath }}
|
||||
{{- if or (include "kafka.saslEnabled" .) }}
|
||||
sasl.enabled.mechanisms={{ upper .Values.sasl.enabledMechanisms }}
|
||||
{{- end }}
|
||||
|
||||
@@ -40,6 +40,10 @@ data:
|
||||
inter.broker.protocol.version={{ default (regexFind "^[0-9].[0-9]+" .Chart.AppVersion) .Values.interBrokerProtocolVersion }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
# Kafka data logs directory
|
||||
log.dir={{ printf "%s/data" .Values.broker.persistence.mountPath }}
|
||||
# Kafka application logs directory
|
||||
logs.dir={{ .Values.broker.logPersistence.mountPath }}
|
||||
{{- include "kafka.commonConfig" . | nindent 4 }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.extraConfig "context" $ ) | nindent 4 }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.broker.extraConfig "context" $ ) | nindent 4 }}
|
||||
|
||||
@@ -39,6 +39,10 @@ data:
|
||||
inter.broker.protocol.version={{ default (regexFind "^[0-9].[0-9]+" .Chart.AppVersion) .Values.interBrokerProtocolVersion }}
|
||||
{{- include "kafka.zookeeperConfig" . | nindent 4 }}
|
||||
{{- end }}
|
||||
# Kafka data logs directory
|
||||
log.dir={{ printf "%s/data" .Values.controller.persistence.mountPath }}
|
||||
# Kafka application logs directory
|
||||
logs.dir={{ .Values.controller.logPersistence.mountPath }}
|
||||
{{- include "kafka.commonConfig" . | nindent 4 }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.extraConfig "context" $ ) | nindent 4 }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.controller.extraConfig "context" $ ) | nindent 4 }}
|
||||
|
||||
Reference in New Issue
Block a user