From 355be529cf1bf9226f1c429abf7d29406c83afad Mon Sep 17 00:00:00 2001 From: Alejandro Ramirez Date: Mon, 20 Jan 2020 14:02:24 -0600 Subject: [PATCH 1/2] Allow setting 'loadBalancerSourceRanges' for the loki service --- production/helm/loki/templates/service.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/production/helm/loki/templates/service.yaml b/production/helm/loki/templates/service.yaml index 0df957409f7cc..10d030d4c5d47 100644 --- a/production/helm/loki/templates/service.yaml +++ b/production/helm/loki/templates/service.yaml @@ -17,6 +17,12 @@ spec: type: {{ .Values.service.type }} {{- if (and (eq .Values.service.type "ClusterIP") (not (empty .Values.service.clusterIP))) }} clusterIP: {{ .Values.service.clusterIP }} +{{- end }} +{{- if .Values.service.loadBalancerSourceRanges }} + loadBalancerSourceRanges: + {{- range $cidr := .Values.service.loadBalancerSourceRanges }} + - {{ $cidr }} + {{- end }} {{- end }} ports: - port: {{ .Values.service.port }} From a8e5a02bc3d74135394bd5ec423da400c2f784c6 Mon Sep 17 00:00:00 2001 From: Alejandro Ramirez Date: Wed, 22 Jan 2020 14:34:33 -0600 Subject: [PATCH 2/2] Version bump for setting 'loadBalancerSourceRanges' for the loki service --- production/helm/loki-stack/Chart.yaml | 2 +- production/helm/loki/Chart.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/production/helm/loki-stack/Chart.yaml b/production/helm/loki-stack/Chart.yaml index 55bd6ecd9a173..37623721ba30c 100644 --- a/production/helm/loki-stack/Chart.yaml +++ b/production/helm/loki-stack/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: "v1" name: loki-stack -version: 0.26.0 +version: 0.27.0 appVersion: v1.3.0 kubeVersion: "^1.10.0-0" description: "Loki: like Prometheus, but for logs." diff --git a/production/helm/loki/Chart.yaml b/production/helm/loki/Chart.yaml index 2242a5d28717a..9b92fd66fc748 100644 --- a/production/helm/loki/Chart.yaml +++ b/production/helm/loki/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: "v1" name: loki -version: 0.23.0 +version: 0.24.0 appVersion: v1.3.0 kubeVersion: "^1.10.0-0" description: "Loki: like Prometheus, but for logs."