From 5114585440ed9ac06180fdff5372bc7216170b75 Mon Sep 17 00:00:00 2001 From: Pierrick Charron Date: Sat, 13 Oct 2018 13:37:23 -0400 Subject: [PATCH] Quote ingress in order to support wildcard subdomain. (#6690) Minio provide a way to use subdomain as bucket-name using the `minioConfig.domain` config. This commit allow the * in the ingress.hosts Exemple: ingress: enabled: true hosts: - "*.minio.adoy.net" minioConfig: domain: minio.adoy.net Signed-off-by: Pierrick Charron --- stable/minio/Chart.yaml | 2 +- stable/minio/templates/ingress.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/stable/minio/Chart.yaml b/stable/minio/Chart.yaml index a22dbdcfde..befa546d3e 100755 --- a/stable/minio/Chart.yaml +++ b/stable/minio/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: Minio is a high performance distributed object storage server, designed for large-scale private cloud infrastructure. name: minio -version: 1.8.1 +version: 1.8.2 appVersion: RELEASE.2018-09-12T18-49-56Z keywords: - storage diff --git a/stable/minio/templates/ingress.yaml b/stable/minio/templates/ingress.yaml index dddad9618e..5168b861f4 100644 --- a/stable/minio/templates/ingress.yaml +++ b/stable/minio/templates/ingress.yaml @@ -21,14 +21,14 @@ spec: {{- range .Values.ingress.tls }} - hosts: {{- range .hosts }} - - {{ . }} + - {{ . | quote }} {{- end }} secretName: {{ .secretName }} {{- end }} {{- end }} rules: {{- range .Values.ingress.hosts }} - - host: {{ . }} + - host: {{ . | quote }} http: paths: - path: {{ $ingressPath }}