Fix helm 3 install error (#19245)

Signed-off-by: Xiang Dai <764524258@qq.com>
This commit is contained in:
Xiang Dai
2019-12-04 17:18:31 -08:00
committed by Kubernetes Prow Robot
parent 71c85e9804
commit 60e82d84c3
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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: 3.0.1
version: 3.0.2
appVersion: RELEASE.2019-08-07T01-59-21Z
keywords:
- storage
+2 -2
View File
@@ -57,7 +57,7 @@ Return the appropriate apiVersion for deployment.
Return the appropriate apiVersion for statefulset.
*/}}
{{- define "minio.statefulset.apiVersion" -}}
{{- if semverCompare "<1.9-0" .Capabilities.KubeVersion.GitVersion -}}
{{- if .Capabilities.APIVersions.Has "apps/v1beta2" -}}
{{- print "apps/v1beta2" -}}
{{- else -}}
{{- print "apps/v1" -}}
@@ -84,4 +84,4 @@ Determine service account name for deployment or statefulset.
{{- else -}}
{{- default "default" .Values.serviceAccount.name -}}
{{- end -}}
{{- end -}}
{{- end -}}