mirror of
https://github.com/bitnami/charts.git
synced 2026-02-20 03:58:02 +08:00
[bitnami/kafka] Append zookeeperChrootPath when using external zookeeper. (#9990)
* Append zookeeperChrootPath when using external zookeeper. When using an external zookeeper, it's important to use a root path where kafka keeps its data. There is a zookeeperChrootPath value, but it was ignored when using externalZookeeper.servers. Signed-off-by: Geert Pante <geertp@ngdata.com> * [bitnami/kafka] Bump to 16.2.10 Signed-off-by: Geert Pante <geertp@ngdata.com>
This commit is contained in:
@@ -29,4 +29,4 @@ name: kafka
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-kafka
|
||||
- https://kafka.apache.org/
|
||||
version: 16.2.9
|
||||
version: 16.2.10
|
||||
|
||||
@@ -455,7 +455,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `zookeeper.persistence.storageClass` | Persistent Volume storage class | `""` |
|
||||
| `zookeeper.persistence.accessModes` | Persistent Volume access modes | `["ReadWriteOnce"]` |
|
||||
| `zookeeper.persistence.size` | Persistent Volume size | `8Gi` |
|
||||
| `externalZookeeper.servers` | List of external zookeeper servers to use | `[]` |
|
||||
| `externalZookeeper.servers` | List of external zookeeper servers to use. Typically used in combination with 'zookeeperChrootPath'. | `[]` |
|
||||
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||
|
||||
@@ -181,7 +181,7 @@ spec:
|
||||
{{- if .Values.zookeeper.enabled }}
|
||||
value: {{ printf "%s%s" (include "kafka.zookeeper.fullname" .) (tpl .Values.zookeeperChrootPath .) | quote }}
|
||||
{{- else }}
|
||||
value: {{ include "common.tplvalues.render" (dict "value" (join "," .Values.externalZookeeper.servers) "context" $) }}
|
||||
value: {{ include "common.tplvalues.render" (dict "value" (printf "%s%s" (join "," .Values.externalZookeeper.servers) (tpl .Values.zookeeperChrootPath .)) "context" $) }}
|
||||
{{- end }}
|
||||
- name: KAFKA_INTER_BROKER_LISTENER_NAME
|
||||
value: {{ .Values.interBrokerListenerName | quote }}
|
||||
|
||||
@@ -1616,6 +1616,6 @@ zookeeper:
|
||||
## All of these values are only used if `zookeeper.enabled=false`
|
||||
##
|
||||
externalZookeeper:
|
||||
## @param externalZookeeper.servers List of external zookeeper servers to use
|
||||
## @param externalZookeeper.servers List of external zookeeper servers to use. Typically used in combination with 'zookeeperChrootPath'.
|
||||
##
|
||||
servers: []
|
||||
|
||||
Reference in New Issue
Block a user