Fix scheme assignment and selector labels for statefulset headless svc (#19494)

Signed-off-by: Nitish Tiwari <nitish@min.io>
This commit is contained in:
Nitish Tiwari
2019-12-10 07:21:31 -08:00
committed by Kubernetes Prow Robot
parent be8ab92fe9
commit 5b77af2410
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
apiVersion: v1
description: MinIO is a high performance distributed object storage server, designed for large-scale private cloud infrastructure.
name: minio
version: 3.0.3
appVersion: RELEASE.2019-08-07T01-59-21Z
version: 3.0.4
appVersion: master
keywords:
- storage
- object-storage
+2 -1
View File
@@ -3,7 +3,7 @@
{{ $nodeCount := .Values.replicas | int }}
{{ $scheme := "http" }}
{{- if .Values.tls.enabled }}
{{ $scheme = "https" }}
{{ $scheme := "https" }}
{{ end }}
apiVersion: v1
kind: Service
@@ -22,6 +22,7 @@ spec:
protocol: TCP
selector:
app: {{ template "minio.name" . }}
release: {{ .Release.Name }}
---
apiVersion: {{ template "minio.statefulset.apiVersion" . }}
kind: StatefulSet