mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/logstash] Add loadBalancerSourceRanges (#12475)
Signed-off-by: Chris Kent <thirstydeveloper@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
597073886d
commit
4527ebe8a3
@@ -3,7 +3,7 @@ description: Logstash is an open source, server-side data processing pipeline
|
||||
icon: https://www.elastic.co/assets/blt86e4472872eed314/logo-elastic-logstash-lt.svg
|
||||
home: https://www.elastic.co/products/logstash
|
||||
name: logstash
|
||||
version: 1.12.0
|
||||
version: 1.13.0
|
||||
appVersion: 6.7.0
|
||||
sources:
|
||||
- https://www.docker.elastic.co
|
||||
|
||||
@@ -81,6 +81,7 @@ The following table lists the configurable parameters of the chart and its defau
|
||||
| `service.annotations` | Service annotations | `{}` |
|
||||
| `service.ports` | Ports exposed by service | beats |
|
||||
| `service.loadBalancerIP` | The load balancer IP for the service | unset |
|
||||
| `service.loadBalancerSourceRanges` | CIDR ranges to allow access to load balancer | unset |
|
||||
| `service.clusterIP` | The cluster IP for the service | unset |
|
||||
| `service.nodePort` | The nodePort for the service | unset |
|
||||
| `service.externalTrafficPolicy` | Set externalTrafficPolicy | unset |
|
||||
|
||||
@@ -24,9 +24,17 @@ spec:
|
||||
selector:
|
||||
app: {{ template "logstash.name" . }}
|
||||
release: {{ .Release.Name }}
|
||||
{{- if eq .Values.service.type "LoadBalancer" }}
|
||||
{{- if .Values.service.loadBalancerIP }}
|
||||
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
|
||||
{{- end }}
|
||||
{{- if .Values.service.loadBalancerSourceRanges }}
|
||||
loadBalancerSourceRanges:
|
||||
{{- range $cidr := .Values.service.loadBalancerSourceRanges }}
|
||||
- {{ $cidr }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.service.clusterIP }}
|
||||
clusterIP: {{ .Values.service.clusterIP }}
|
||||
{{- end }}
|
||||
|
||||
@@ -45,6 +45,8 @@ service:
|
||||
# targetPort: http
|
||||
# protocol: TCP
|
||||
# loadBalancerIP: 10.0.0.1
|
||||
# loadBalancerSourceRanges:
|
||||
# - 192.168.0.1
|
||||
ports:
|
||||
# - name: syslog-udp
|
||||
# containerPort: 1514
|
||||
|
||||
Reference in New Issue
Block a user