Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove scheme prefix from helpers for graylog.elasticsearch.hosts. #105

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/graylog/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
6 changes: 1 addition & 5 deletions charts/graylog/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down