diff --git a/charts/kafka-proxy/Chart.yaml b/charts/kafka-proxy/Chart.yaml index 0b6b6bb..f224897 100644 --- a/charts/kafka-proxy/Chart.yaml +++ b/charts/kafka-proxy/Chart.yaml @@ -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 @@ -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 diff --git a/charts/kafka-proxy/README.md b/charts/kafka-proxy/README.md index 54ac57d..2f36a15 100644 --- a/charts/kafka-proxy/README.md +++ b/charts/kafka-proxy/README.md @@ -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). diff --git a/charts/kafka-proxy/templates/statefulset.yaml b/charts/kafka-proxy/templates/statefulset.yaml index 1fc4262..824e22a 100644 --- a/charts/kafka-proxy/templates/statefulset.yaml +++ b/charts/kafka-proxy/templates/statefulset.yaml @@ -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'