Skip to content

Commit

Permalink
add: ability to add annotations to kafka externalListener
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisMcKenzie committed Jan 10, 2025
1 parent c3d577c commit 5e4d7db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/kafka/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
description: Setup a Kafka cluster using Strimzi operator
name: kafka
version: 0.3.3
version: 0.3.4
type: application
dependencies: []
keywords:
Expand Down
2 changes: 2 additions & 0 deletions charts/kafka/templates/kafka.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,12 @@ spec:
{{- range .Values.strimzi.alternateNames }}
- {{ tpl . $ | quote }}
{{- end }}
annotations: {{ .Values.strimzi.externalListener.bootstrapAnnotations }}
brokers:
{{- range $i, $e := until (int .Values.strimzi.replicas) }}
- broker: {{ $e }}
host: {{ tpl $.Values.strimzi.externalListener.brokerNameTemplate (merge (deepCopy $) (dict "brokerId" $e)) | quote }}
annotations: {{ .Values.strimzi.externalListener.brokerAnnotations }}
{{- end }}
{{- end }}
readinessProbe:
Expand Down

0 comments on commit 5e4d7db

Please sign in to comment.