Skip to content

Commit

Permalink
[stable/minio] fix stable versioning in KubeVersion, specifically v 1…
Browse files Browse the repository at this point in the history
….16 (#82)

fixes #81
  • Loading branch information
patvdleer committed Dec 7, 2020
1 parent 8819dbd commit fc621a0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion minio/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: High Performance, Kubernetes Native Object Storage
name: minio
version: 8.0.6
version: 8.0.7
appVersion: master
keywords:
- storage
Expand Down
2 changes: 1 addition & 1 deletion 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.17-0" .Capabilities.KubeVersion.Version -}}
{{- if semverCompare "<1.16-0" .Capabilities.KubeVersion.Version -}}
{{- print "apps/v1beta2" -}}
{{- else -}}
{{- print "apps/v1" -}}
Expand Down
Binary file added releases/minio-8.0.7.tgz
Binary file not shown.

0 comments on commit fc621a0

Please sign in to comment.