|
|
@@ -58,15 +58,9 @@ spec:
|
|
|
labels:
|
|
|
app: {{ template "minio.name" . }}
|
|
|
release: {{ .Release.Name }}
|
|
|
-{{- if .Values.podLabels }}
|
|
|
-{{ toYaml .Values.podLabels | indent 8 }}
|
|
|
-{{- end }}
|
|
|
annotations:
|
|
|
checksum/secrets: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}
|
|
|
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
|
|
|
-{{- if .Values.podAnnotations }}
|
|
|
-{{ toYaml .Values.podAnnotations | trimSuffix "\n" | indent 8 }}
|
|
|
-{{- end }}
|
|
|
spec:
|
|
|
{{- if .Values.priorityClassName }}
|
|
|
priorityClassName: "{{ .Values.priorityClassName }}"
|
|
|
@@ -125,18 +119,6 @@ spec:
|
|
|
{{- end}}
|
|
|
resources:
|
|
|
{{ toYaml .Values.resources | indent 12 }}
|
|
|
- {{- with .Values.nodeSelector }}
|
|
|
- nodeSelector:
|
|
|
-{{ toYaml . | indent 8 }}
|
|
|
- {{- end }}
|
|
|
- {{- with .Values.affinity }}
|
|
|
- affinity:
|
|
|
-{{ toYaml . | indent 8 }}
|
|
|
- {{- end }}
|
|
|
- {{- with .Values.tolerations }}
|
|
|
- tolerations:
|
|
|
-{{ toYaml . | indent 8 }}
|
|
|
- {{- end }}
|
|
|
volumes:
|
|
|
- name: minio-user
|
|
|
secret:
|