diff --git a/charts/minio/templates/minio-deployment.yaml b/charts/minio/templates/minio-deployment.yaml index de0c91a..c7bee27 100644 --- a/charts/minio/templates/minio-deployment.yaml +++ b/charts/minio/templates/minio-deployment.yaml @@ -52,4 +52,10 @@ spec: - name: minio-claim0 persistentVolumeClaim: claimName: minio-claim0 +{{- if (hasKey .Values.storage "nodeSelector") }} +{{- if (hasKey .Values.storage.nodeSelector "app") }} + nodeSelector: + app: {{ .Values.storage.nodeSelector.app }} +{{- end -}} +{{- end -}} status: {}