From 5cb2716e098665917e985331faadce3e8f260775 Mon Sep 17 00:00:00 2001 From: Anton Malinskiy Date: Sat, 5 Oct 2019 11:07:23 +1000 Subject: [PATCH] feat(stable/minio): fix invalid yaml generation for podAnnotations (#17529) bumped the version to 2.5.16 Signed-off-by: Anton Malinskiy --- stable/minio/Chart.yaml | 2 +- stable/minio/templates/deployment.yaml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/stable/minio/Chart.yaml b/stable/minio/Chart.yaml index 5dce827337..329f3e74d7 100755 --- a/stable/minio/Chart.yaml +++ b/stable/minio/Chart.yaml @@ -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: 2.5.15 +version: 2.5.16 appVersion: RELEASE.2019-08-07T01-59-21Z keywords: - storage diff --git a/stable/minio/templates/deployment.yaml b/stable/minio/templates/deployment.yaml index 1de9df8913..b765626b64 100644 --- a/stable/minio/templates/deployment.yaml +++ b/stable/minio/templates/deployment.yaml @@ -49,7 +49,9 @@ spec: annotations: checksum/secrets: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }} checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} -{{- if .Values.podAnnotations }}{{ toYaml .Values.podAnnotations | indent 8 }}{{- end }} +{{- if .Values.podAnnotations }} +{{ toYaml .Values.podAnnotations | trimSuffix "\n" | indent 8 }} +{{- end }} spec: {{- if .Values.priorityClassName }} priorityClassName: "{{ .Values.priorityClassName }}"