From 03de4c24a712f77487d4b7d522807966dece2db0 Mon Sep 17 00:00:00 2001 From: Masaki Muranaka Date: Sat, 11 Dec 2021 10:27:32 +0900 Subject: [PATCH] Add affinity support. --- charts/minio/templates/minio-deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/minio/templates/minio-deployment.yaml b/charts/minio/templates/minio-deployment.yaml index e8d1d74..056fc46 100644 --- a/charts/minio/templates/minio-deployment.yaml +++ b/charts/minio/templates/minio-deployment.yaml @@ -19,6 +19,10 @@ spec: labels: app: deis-minio spec: +{{- with .Values.global.affinity }} + affinity: +{{ toYaml . | indent 8 }} +{{- end }} serviceAccount: deis-minio containers: - name: deis-minio