Skip to content

Commit

Permalink
add loadBalancerIP support for proxy service (#421)
Browse files Browse the repository at this point in the history
Co-authored-by: Abdulhadi Celenlioglu <[email protected]>
  • Loading branch information
hadican and Abdulhadi Celenlioglu authored Dec 29, 2023
1 parent 76fb0bb commit 8061a8b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/pulsar/templates/proxy-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions charts/pulsar/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
##
Expand Down

0 comments on commit 8061a8b

Please sign in to comment.