diff --git a/stable/minio/Chart.yaml b/stable/minio/Chart.yaml index 25938e79c1..d2b04d668d 100755 --- a/stable/minio/Chart.yaml +++ b/stable/minio/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: MinIO is a high performance data infrastructure for machine learning, analytics and application data workloads. name: minio -version: 5.0.11 +version: 5.0.12 appVersion: master keywords: - storage diff --git a/stable/minio/templates/post-install-create-bucket-job.yaml b/stable/minio/templates/post-install-create-bucket-job.yaml index 0b074ca283..c95f4787a0 100755 --- a/stable/minio/templates/post-install-create-bucket-job.yaml +++ b/stable/minio/templates/post-install-create-bucket-job.yaml @@ -11,7 +11,9 @@ metadata: annotations: "helm.sh/hook": post-install,post-upgrade "helm.sh/hook-delete-policy": hook-succeeded - {{ toYaml .Values.makeBucketJob.annotations | indent 4 }} + {{- with .Values.makeBucketJob.annotations }} + {{ toYaml . | indent 4 }} + {{- end }} spec: template: metadata: