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