[stable/minio] tls scheme variable incorrectly scoped (#21373)

remove local scope on $scheme in if-block, otherwise always "http"

Signed-off-by: Brien Dieterle <briend@gmail.com>
This commit is contained in:
Brien Dieterle
2020-03-11 15:50:37 -07:00
committed by GitHub
parent 5cbe8bfc69
commit ccf8783eb4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: MinIO is a high performance data infrastructure for machine learning, analytics and application data workloads.
name: minio
version: 5.0.14
version: 5.0.15
appVersion: master
keywords:
- storage
+1 -1
View File
@@ -4,7 +4,7 @@
{{ $drivesPerNode := .Values.drivesPerNode | int }}
{{ $scheme := "http" }}
{{- if .Values.tls.enabled }}
{{ $scheme := "https" }}
{{ $scheme = "https" }}
{{ end }}
{{ $mountPath := .Values.mountPath }}
{{ $bucketRoot := or ($.Values.bucketRoot) ($.Values.mountPath) }}