From 756842fd8ab8323198790a5978801be85de1b672 Mon Sep 17 00:00:00 2001 From: John Puskar Date: Fri, 11 Feb 2022 15:40:17 -0500 Subject: [PATCH] Remove scheme prefix from helpers for graylog.elasticsearch.hosts. Signed-off-by: John Puskar --- charts/graylog/Chart.yaml | 2 +- charts/graylog/templates/_helpers.tpl | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/charts/graylog/Chart.yaml b/charts/graylog/Chart.yaml index 4f4cca6..e364fa4 100755 --- a/charts/graylog/Chart.yaml +++ b/charts/graylog/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: graylog home: https://www.graylog.org -version: 2.0.0 +version: 2.0.1 appVersion: 4.2.3 description: Graylog is the centralized log management solution built to open standards for capturing, storing, and enabling real-time analysis of terabytes of machine data. keywords: diff --git a/charts/graylog/templates/_helpers.tpl b/charts/graylog/templates/_helpers.tpl index ba0702f..8c4d13e 100644 --- a/charts/graylog/templates/_helpers.tpl +++ b/charts/graylog/templates/_helpers.tpl @@ -91,11 +91,7 @@ Or use chart dependencies with release name */}} {{- define "graylog.elasticsearch.hosts" -}} {{- if .Values.graylog.elasticsearch.uriSecretKey }} - {{- if .Values.graylog.elasticsearch.uriSSL }} - {{- printf "https://${GRAYLOG_ELASTICSEARCH_HOSTS}" -}} - {{- else }} - {{- printf "http://${GRAYLOG_ELASTICSEARCH_HOSTS}" -}} - {{- end }} + {{- printf "${GRAYLOG_ELASTICSEARCH_HOSTS}" -}} {{- else if .Values.graylog.elasticsearch.hosts }} {{- .Values.graylog.elasticsearch.hosts -}} {{- else }}