Skip to content

Commit

Permalink
externalize Kafka access
Browse files Browse the repository at this point in the history
Signed-off-by: Jürgen Hemelt <juergen.hemelt@atruvia.de>
Signed-off-by: Tunç Taylan Turunç <tunc_taylan.turunc@atruvia.de>
  • Loading branch information
juergenhemelt authored and planetf1 committed Mar 21, 2023
1 parent 68e232b commit 49cd868
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
6 changes: 4 additions & 2 deletions charts/egeria-base/templates/kafka-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,18 @@ spec:
port: 9092
type: internal
tls: false
{{ if .Values.strimzi.externalListener.enabled }}
- name: external
port: 9094
type: nodeport
tls: false
configuration:
bootstrap:
nodePort: {{ .Values.strimzi.bootstrapNodePort }}
nodePort: {{ .Values.strimzi.externalListener.bootstrapNodePort }}
brokers:
- broker: 0
advertisedHost: {{ .Values.strimzi.advertisedHost }}
advertisedHost: {{ .Values.strimzi.externalListener.advertisedHost }}
{{ end }}
config:
offsets.topic.replication.factor: 1
transaction.state.log.replication.factor: 1
Expand Down
9 changes: 6 additions & 3 deletions charts/egeria-base/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,14 @@ image:
# will create cluster-scoped resources. Set to false to skip this when in a restricted environment, or needing multiple
# installs of egeria charts in the same cluster. Requires the strimzi operator to be
# installed on the cluster by an admin, or a prior install
# If strimzi is installed, a Kafka cluster is also configured. You can change NodePort options of the external listener.
# If strimzi is installed, a Kafka cluster is also configured.
# You are able to externalize the Kafka access by changing the externalListener options.
strimzi:
enabled: true
advertisedHost: localhost
bootstrapNodePort: 32000
externalListener:
enabled: true
advertisedHost: localhost
bootstrapNodePort: 32000

# If you allow (as is default) this chart to install the strimzi operator, this setting will
# then allow it to work across all namespaces - so for example it will work if installing another
Expand Down

0 comments on commit 49cd868

Please sign in to comment.