File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -191,18 +191,18 @@ Set Kafka Confluent host
191191{ {- if .Values.kafka.enabled -} }
192192 { {- template " sentry.kafka.fullname" . -} }
193193{ {- else -} }
194- " kafka-confluent"
194+ kafka-confluent
195195{ {- end -} }
196196{ {- end -} }
197197
198198{ {/*
199199Set Kafka Confluent port
200200*/} }
201201{ {- define " sentry.kafka.port" -} }
202- { {- if .Values.kafka.enabled -} }
203- { {- default " 9092 " .Values.kafka.service.port } }
202+ { {- if and ( .Values.kafka.enabled) (.Values.kafka.service.port) -} }
203+ { {- .Values.kafka.service.port } }
204204{ {- else -} }
205- " 9092"
205+ 9092
206206{ {- end -} }
207207{ {- end -} }
208208
Original file line number Diff line number Diff line change 1717 {{- if $redisPass }}
1818 REDIS_PASSWORD : " {{ $redisPass }}"
1919 {{- end }}
20+ {{- if .Values.kafka.enabled }}
2021 DEFAULT_BROKERS : " {{ printf " %s:%s" (include "sentry.kafka.host" .) (include "sentry.kafka.port" .) }}"
22+ {{- end }}
You can’t perform that action at this time.
0 commit comments