You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by si...@apache.org on 2020/05/18 08:25:07 UTC
[pulsar-helm-chart] branch master updated: Support load balance
source ip range (#12)
This is an automated email from the ASF dual-hosted git repository.
sijie 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 96dbab9 Support load balance source ip range (#12)
96dbab9 is described below
commit 96dbab924fcad80c9586bf3f3c10445c1dec8ee3
Author: Luke Stephenson <lu...@gmail.com>
AuthorDate: Mon May 18 18:24:58 2020 +1000
Support load balance source ip range (#12)
Grafana and pulsar manager now support restricting
the available IPs that can be used.
---
charts/pulsar/templates/grafana-service.yaml | 4 ++++
charts/pulsar/templates/pulsar-manager-service.yaml | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/charts/pulsar/templates/grafana-service.yaml b/charts/pulsar/templates/grafana-service.yaml
index 2c1ddd1..e093de1 100644
--- a/charts/pulsar/templates/grafana-service.yaml
+++ b/charts/pulsar/templates/grafana-service.yaml
@@ -40,4 +40,8 @@ spec:
{{- include "pulsar.matchLabels" . | nindent 4 }}
component: {{ .Values.grafana.component }}
sessionAffinity: None
+{{- if .Values.grafana.service.loadBalancerSourceRanges }}
+ loadBalancerSourceRanges:
+{{ toYaml .Values.grafana.service.loadBalancerSourceRanges | indent 4 }}
+{{- end }}
{{- end }}
diff --git a/charts/pulsar/templates/pulsar-manager-service.yaml b/charts/pulsar/templates/pulsar-manager-service.yaml
index 188b3a4..19cef93 100644
--- a/charts/pulsar/templates/pulsar-manager-service.yaml
+++ b/charts/pulsar/templates/pulsar-manager-service.yaml
@@ -38,4 +38,8 @@ spec:
app: {{ template "pulsar.name" . }}
release: {{ .Release.Name }}
component: {{ .Values.pulsar_manager.component }}
+{{- if .Values.pulsar_manager.service.loadBalancerSourceRanges }}
+ loadBalancerSourceRanges:
+{{ toYaml .Values.pulsar_manager.service.loadBalancerSourceRanges | indent 4 }}
+{{- end }}
{{- end }}