From f8d1e522df1e4841e7a4a1a46d59bce9a9bad904 Mon Sep 17 00:00:00 2001 From: Bright Zheng Date: Mon, 20 Apr 2020 07:33:39 -0700 Subject: [PATCH] [stable/minio]: add serviceAccountName in create-bucket-job to make it consistent (#21907) * add serviceAccountName in create-bucket-job to make it consistent Signed-off-by: Bright Zheng * bump stable/minio to 5.0.21 from 5.0.20 Signed-off-by: Bright Zheng * bump stable/minio to 5.0.22 Signed-off-by: Bright Zheng --- stable/minio/Chart.yaml | 2 +- stable/minio/templates/post-install-create-bucket-job.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/stable/minio/Chart.yaml b/stable/minio/Chart.yaml index b8b67f2e6b..67589fb718 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.21 +version: 5.0.22 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 b26c206193..333cda54df 100755 --- a/stable/minio/templates/post-install-create-bucket-job.yaml +++ b/stable/minio/templates/post-install-create-bucket-job.yaml @@ -53,6 +53,7 @@ spec: - key: {{ .Values.tls.publicCrt }} path: CAs/public.crt {{ end }} + serviceAccountName: {{ include "minio.serviceAccountName" . | quote }} containers: - name: minio-mc image: "{{ .Values.mcImage.repository }}:{{ .Values.mcImage.tag }}"