From ccf8783eb41235ee968ed5d47ecfe6fe5e6db08a Mon Sep 17 00:00:00 2001 From: Brien Dieterle Date: Wed, 11 Mar 2020 15:50:37 -0700 Subject: [PATCH] [stable/minio] tls scheme variable incorrectly scoped (#21373) remove local scope on $scheme in if-block, otherwise always "http" Signed-off-by: Brien Dieterle --- stable/minio/Chart.yaml | 2 +- stable/minio/templates/statefulset.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/minio/Chart.yaml b/stable/minio/Chart.yaml index 80de2c56d5..838c53aff9 100755 --- a/stable/minio/Chart.yaml +++ b/stable/minio/Chart.yaml @@ -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 diff --git a/stable/minio/templates/statefulset.yaml b/stable/minio/templates/statefulset.yaml index 49f3a014b1..36212f7a10 100644 --- a/stable/minio/templates/statefulset.yaml +++ b/stable/minio/templates/statefulset.yaml @@ -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) }}