Skip to content

Commit

Permalink
[prometheus-kafka-exporter] Add kafka broker version (prometheus-comm…
Browse files Browse the repository at this point in the history
…unity#896)

* prometheus-kafka-exporter: add broker version

Signed-off-by: Evyatar Cohen <coevyatar@gmail.com>

* prometheus-kafka-exporter: fix trailing spaces

Signed-off-by: Evyatar Cohen <coevyatar@gmail.com>
  • Loading branch information
Pobek authored Apr 28, 2021
1 parent fc70a3e commit fa75fe2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/prometheus-kafka-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ appVersion: "v1.2.0"
description: A Helm chart to export the metrics from Kafka in Prometheus format using the kafka-exporter from https://github.com/danielqsj/kafka_exporter
name: prometheus-kafka-exporter
home: https://github.com/danielqsj/kafka_exporter
version: 1.0.0
version: 1.1.0
sources:
- https://gkarthiks.github.io/helm-charts/charts/prometheus-kafka-exporter
keywords:
Expand Down
3 changes: 3 additions & 0 deletions charts/prometheus-kafka-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ spec:
{{- range $server := .Values.kafkaServer }}
- '--kafka.server={{ $server }}'
{{- end }}
{{- if .Values.kafkaBrokerVersion }}
- '--kafka.version={{ .Values.kafkaBrokerVersion }}'
{{- end }}
{{- if .Values.tls.enabled }}
- '--tls.enabled'
- '--tls.ca-file={{ .Values.tls.mountPath }}/ca.crt'
Expand Down
3 changes: 3 additions & 0 deletions charts/prometheus-kafka-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ replicaCount: 1
kafkaServer:
- kafka-server:9092

# Specifies broker version to use, leave empty for default
kafkaBrokerVersion:

rbac:
# Specifies whether RBAC resources should be created
create: true
Expand Down

0 comments on commit fa75fe2

Please sign in to comment.