Skip to content

Commit

Permalink
bootstrap-server-mapping fix (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
bueti authored Feb 11, 2022
1 parent 9c3d23e commit fbe1d46
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/kafka-proxy/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: kafka-proxy
version: 0.0.2
version: 0.1.0
appVersion: 0.3.1
description: Deploying the grepplabs kafka-proxy as a StatefulSet with a GKE LoadBalancer
home: https://github.com/grepplabs/kafka-proxy
Expand All @@ -14,7 +14,7 @@ keywords:
- kafka-proxy
annotations:
artifacthub.io/changes: |
- Use GKE LoadBalancer
- Use LoadBalancer IP in bootstrap-server-mapping
artifacthub.io/images: |
- name: kafka-proxy
image: grepplabs/kafka-proxy:v0.3.1
2 changes: 1 addition & 1 deletion charts/kafka-proxy/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# PromLens

![Version: 0.0.2](https://img.shields.io/badge/Version-0.0.2-informational?style=flat-square) ![AppVersion: 0.3.1](https://img.shields.io/badge/AppVersion-0.3.1-informational?style=flat-square) ![Release Status](https://github.com/ricardo-ch/helm-charts/workflows/Release%20Charts/badge.svg) [![License](https://img.shields.io/github/license/ricardo-ch/helm-charts)](https://github.com/ricardo-ch/helm-charts/blob/main/LICENSE)
![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![AppVersion: 0.3.1](https://img.shields.io/badge/AppVersion-0.3.1-informational?style=flat-square) ![Release Status](https://github.com/ricardo-ch/helm-charts/workflows/Release%20Charts/badge.svg) [![License](https://img.shields.io/github/license/ricardo-ch/helm-charts)](https://github.com/ricardo-ch/helm-charts/blob/main/LICENSE)

This chart installs [kafka-proxy](https://github.com/grepplabs/kafka-proxy).

Expand Down
2 changes: 1 addition & 1 deletion charts/kafka-proxy/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
- 'server'
- '--log-format=json'
{{- range $index, $broker := .Values.config.kafkaClient.brokers }}
- '--bootstrap-server-mapping={{ $broker }},0.0.0.0:{{ add 32400 $index}}{{ if ne $index 0}},$(MY_POD_IP):{{ add 32400 $index }}{{ end }}'
- '--bootstrap-server-mapping={{ $broker }},0.0.0.0:{{ add 32400 $index}}{{ if ne $index 0}},{{ $.Values.config.loadBalancerIP }}:{{ add 32400 $index }}{{ end }}'
{{- end }}
- '--tls-enable'
- '--sasl-enable'
Expand Down

0 comments on commit fbe1d46

Please sign in to comment.