From dc6ea97b22fb2a0885bea406654df6645ec336e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fl=C3=A1vio=20Ferreira?= Date: Mon, 17 Dec 2018 19:18:51 +0000 Subject: [PATCH] [stable/aerospike] Add load balancer source ranges (#8604) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [stable/aerospike] Add loadBalancerSourceRanges to service Signed-off-by: Flávio Ferreira * [stable/aerospike] Bump chart version Signed-off-by: Flávio Ferreira * [stable/aerospike] Fix comment Signed-off-by: Flávio Ferreira * Bump to minor version Signed-off-by: Flávio Ferreira --- stable/aerospike/Chart.yaml | 2 +- stable/aerospike/templates/service.yaml | 4 ++++ stable/aerospike/values.yaml | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/stable/aerospike/Chart.yaml b/stable/aerospike/Chart.yaml index e9b7501954..4b129caf68 100644 --- a/stable/aerospike/Chart.yaml +++ b/stable/aerospike/Chart.yaml @@ -5,7 +5,7 @@ keywords: - aerospike - big-data home: http://aerospike.com -version: 0.1.7 +version: 0.2.0 icon: https://s3-us-west-1.amazonaws.com/aerospike-fd/wp-content/uploads/2016/06/Aerospike_square_logo.png sources: - https://github.com/aerospike/aerospike-server diff --git a/stable/aerospike/templates/service.yaml b/stable/aerospike/templates/service.yaml index 341512a153..4486cc10d4 100644 --- a/stable/aerospike/templates/service.yaml +++ b/stable/aerospike/templates/service.yaml @@ -20,6 +20,10 @@ spec: {{ if eq .Values.service.type "LoadBalancer" -}} {{ if .Values.service.loadBalancerIP -}} loadBalancerIP: {{ .Values.service.loadBalancerIP }} {{ end -}} + {{- if .Values.service.loadBalancerSourceRanges }} + loadBalancerSourceRanges: + {{ toYaml .Values.service.loadBalancerSourceRanges | indent 2}} + {{ end -}} {{- end -}} ports: - port: 3000 diff --git a/stable/aerospike/values.yaml b/stable/aerospike/values.yaml index f975b8f9bb..c868f0addb 100644 --- a/stable/aerospike/values.yaml +++ b/stable/aerospike/values.yaml @@ -33,6 +33,9 @@ service: annotations: {} loadBalancerIP: clusterIP: None + # This field takes a list of IP CIDR ranges, which Kubernetes will use to configure firewall exceptions + # loadBalancerSourceRanges: + # - 10.0.0.0/8 meshService: annotations: {}