From 4c663f4647e8953854fccec37517ab4e502721fe Mon Sep 17 00:00:00 2001 From: Alexander Rashed Date: Mon, 29 Jul 2019 17:21:55 +0200 Subject: [PATCH] [stable/minio] Add affinity and toleration to bucket creation job (#14058) * Add the same affinities and tolerations for the bucket creation job as for the deploymenti Signed-off-by: Alexander Rashed * Bump patch version Signed-off-by: Alexander Rashed --- stable/minio/Chart.yaml | 2 +- .../minio/templates/post-install-create-bucket-job.yaml | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/stable/minio/Chart.yaml b/stable/minio/Chart.yaml index 7bf7118474..440989784b 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.3 +version: 2.5.4 appVersion: RELEASE.2019-07-17T22-54-12Z 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 c581338a26..4756bd6ee1 100755 --- a/stable/minio/templates/post-install-create-bucket-job.yaml +++ b/stable/minio/templates/post-install-create-bucket-job.yaml @@ -22,6 +22,14 @@ spec: {{- if .Values.nodeSelector }} nodeSelector: {{ toYaml .Values.nodeSelector | indent 8 }} +{{- end }} +{{- with .Values.affinity }} + affinity: +{{ toYaml . | indent 8 }} +{{- end }} +{{- with .Values.tolerations }} + tolerations: +{{ toYaml . | indent 8 }} {{- end }} volumes: - name: minio-configuration