mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Fix helm 3 install error (#19245)
Signed-off-by: Xiang Dai <764524258@qq.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
71c85e9804
commit
60e82d84c3
@@ -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
|
||||
|
||||
@@ -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 -}}
|
||||
|
||||
Reference in New Issue
Block a user