Skip to content

Commit

Permalink
Merge pull request #261 from nandanrao/helm-chart-to-verbosity
Browse files Browse the repository at this point in the history
helm chart: changed log level to verbosity
  • Loading branch information
danielqsj authored Sep 16, 2021
2 parents 34dd85e + 158e35e commit 49ae4a1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/kafka-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "1.0"
description: A Helm chart for Kubernetes
name: kafka-exporter
version: 1.1.1
version: 1.2.0
home: https://github.com/abhishekjiitr/kafka-exporter-helm
maintainers:
- name: abhishekjiitr
Expand Down
2 changes: 2 additions & 0 deletions charts/kafka-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ spec:
- --tls.key-file=/etc/tls-certs/key-file
{{- end }}
{{- end }}
{{- if .Values.kafkaExporter.log }}
- --verbosity={{ .Values.kafkaExporter.log.verbosity }}
{{- if .Values.kafkaExporter.log.enableSarama }}
- --log.enable-sarama
{{- end }}
Expand Down
1 change: 1 addition & 0 deletions charts/kafka-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ kafkaExporter:
keyFile: ""

log:
verbosity: 0
enableSarama: false

prometheus:
Expand Down

0 comments on commit 49ae4a1

Please sign in to comment.