From 8b7ef43ca2f2e027bdd0b0705bf3631f4641ec1a Mon Sep 17 00:00:00 2001 From: ahmadali shafiee Date: Mon, 2 Mar 2020 02:02:49 +0330 Subject: [PATCH] [stable/minio] annotation fix (#21155) * annotation fix Signed-off-by: ahmadali shafiee * use with operator Signed-off-by: ahmadali shafiee --- stable/minio/Chart.yaml | 2 +- stable/minio/templates/post-install-create-bucket-job.yaml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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: