Skip to content

Commit

Permalink
Fix helm 3 install error (helm#19245)
Browse files Browse the repository at this point in the history
Signed-off-by: Xiang Dai <[email protected]>
Signed-off-by: Artur <[email protected]>
  • Loading branch information
daixiang0 authored and Artur committed Jan 28, 2020
1 parent 96d3ca7 commit e6e8204
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion stable/minio/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions stable/minio/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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" -}}
Expand All @@ -84,4 +84,4 @@ Determine service account name for deployment or statefulset.
{{- else -}}
{{- default "default" .Values.serviceAccount.name -}}
{{- end -}}
{{- end -}}
{{- end -}}

0 comments on commit e6e8204

Please sign in to comment.