Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding nodeselector option for minio #132

Merged
merged 9 commits into from
Feb 26, 2024
12 changes: 6 additions & 6 deletions charts/minio/templates/minio-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@ spec:
labels:
app: minio
spec:
{{- if (hasKey .Values.storage "nodeSelector") -}}
{{- if (hasKey .Values.storage.nodeSelector "app") -}}
nodeSelector:
app: {{ .Values.storage.nodeSelector.app }}
{{- end }}
{{- end }}
containers:
- command:
- bash
Expand Down Expand Up @@ -58,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: {}
Loading