Skip to content

Commit

Permalink
Merge branch 'main' into add-sidecar
Browse files Browse the repository at this point in the history
  • Loading branch information
rpriyanshu9 authored Sep 28, 2023
2 parents a29b4af + 56aa92d commit 9410068
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
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.7.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: 2.6.0
version: 2.7.0
kubeVersion: ">=1.19.0-0"
sources:
- https://gkarthiks.github.io/helm-charts/charts/prometheus-kafka-exporter
Expand Down
3 changes: 3 additions & 0 deletions charts/prometheus-kafka-exporter/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ metadata:
{{- end }}
spec:
type: {{ .Values.service.type }}
{{- if and (eq .Values.service.type "LoadBalancer") (.Values.service.loadBalancerIP) }}
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
{{- end }}
ports:
- port: {{ .Values.service.port }}
targetPort: exporter-port
Expand Down
6 changes: 4 additions & 2 deletions charts/prometheus-kafka-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,11 @@ service:
port: 9308
labels: {}
annotations: {}
# Specifies a custom nodePort for external use.
# Must be used with service.type=NodePort.
# Specifies a custom nodePort for external use. Used with service.type=NodePort.
nodePort: null
# Specifies a reserved static IP. Used with service.type=LoadBalancer.
# The field is deprecated, implementation-specific annotations should be set instead.
loadBalancerIP: null

liveness:
enabled: false
Expand Down

0 comments on commit 9410068

Please sign in to comment.