Skip to content

Commit

Permalink
add a reasonable default for kafka brokers
Browse files Browse the repository at this point in the history
  • Loading branch information
ewollesen committed Aug 9, 2024
1 parent c31a905 commit 7626382
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ if .Values.global.kafka.connect.enabled }}
{{ if ( .Values.global.kafka.connect.enabled | default false ) }}
apiVersion: kafka.strimzi.io/v1beta2
kind: KafkaConnector
metadata:
Expand Down
2 changes: 1 addition & 1 deletion charts/tidepool/charts/kafka/templates/0-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
labels:
{{ include "charts.labels.standard" . }}
data:
Brokers: {{ .Values.configmap.Brokers }}
Brokers: {{ .Values.configmap.Brokers | default "kafka-kafka-bootstrap:9092" }}
RequireSSL: "{{ .Values.configmap.RequireSSL }}"
{{ if .Values.configmap.TopicPrefix }}
TopicPrefix: {{ .Values.configmap.TopicPrefix }}
Expand Down

0 comments on commit 7626382

Please sign in to comment.