This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-helm-chart.git
The following commit(s) were added to refs/heads/master by this push:
new 8061a8b add loadBalancerIP support for proxy service (#421)
8061a8b is described below
commit 8061a8b7aa777d14634be32b6aa3b92b24520255
Author: hadican <[email protected]>
AuthorDate: Fri Dec 29 13:16:37 2023 +0300
add loadBalancerIP support for proxy service (#421)
Co-authored-by: Abdulhadi Celenlioglu <[email protected]>
---
charts/pulsar/templates/proxy-service.yaml | 3 +++
charts/pulsar/values.yaml | 2 ++
2 files changed, 5 insertions(+)
diff --git a/charts/pulsar/templates/proxy-service.yaml
b/charts/pulsar/templates/proxy-service.yaml
index d55ad0d..302a3d7 100644
--- a/charts/pulsar/templates/proxy-service.yaml
+++ b/charts/pulsar/templates/proxy-service.yaml
@@ -32,6 +32,9 @@ metadata:
{{- end }}
spec:
type: {{ .Values.proxy.service.type }}
+ {{- with .Values.proxy.service.loadBalancerIP }}
+ loadBalancerIP: {{ . }}
+ {{- end }}
ports:
{{- if or (not .Values.tls.enabled) (not .Values.tls.proxy.enabled) }}
- name: http
diff --git a/charts/pulsar/values.yaml b/charts/pulsar/values.yaml
index eb3c60c..3798685 100644
--- a/charts/pulsar/values.yaml
+++ b/charts/pulsar/values.yaml
@@ -956,6 +956,8 @@ proxy:
service:
annotations: {}
type: LoadBalancer
+ ## Optional. Leave it blank to get next available random IP.
+ loadBalancerIP: ""
## Proxy ingress
## templates/proxy-ingress.yaml
##