2022-11-03 09:37:29 +00:00
|
|
|
--- charts-original/templates/deployment.yaml
|
|
|
|
+++ charts/templates/deployment.yaml
|
2022-11-14 10:19:37 +00:00
|
|
|
@@ -72,7 +72,7 @@
|
2022-11-03 09:37:29 +00:00
|
|
|
{{- end }}
|
|
|
|
containers:
|
|
|
|
- name: {{ .Chart.Name }}
|
|
|
|
- image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
|
|
|
+ image: "{{ default .Values.image.registry (include "registry-url" .) }}{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
|
|
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
|
|
|
command:
|
|
|
|
- "/bin/sh"
|
2023-01-23 10:47:23 +00:00
|
|
|
@@ -170,19 +170,18 @@
|
|
|
|
{{- toYaml . | nindent 8 }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
2022-11-03 09:37:29 +00:00
|
|
|
-{{- with .Values.nodeSelector }}
|
|
|
|
nodeSelector:
|
|
|
|
-{{ toYaml . | indent 8 }}
|
|
|
|
-{{- end }}
|
|
|
|
+ {{- include "linux-node-selector" . | nindent 8 }}
|
|
|
|
{{- include "minio.imagePullSecrets" . | indent 6 }}
|
|
|
|
{{- with .Values.affinity }}
|
|
|
|
affinity:
|
|
|
|
{{ toYaml . | indent 8 }}
|
|
|
|
{{- end }}
|
|
|
|
-{{- with .Values.tolerations }}
|
|
|
|
tolerations:
|
|
|
|
-{{ toYaml . | indent 8 }}
|
|
|
|
-{{- end }}
|
|
|
|
+ {{- include "linux-node-tolerations" . | nindent 8 }}
|
|
|
|
+ {{- with .Values.tolerations }}
|
|
|
|
+ {{ toYaml . | indent 8 }}
|
|
|
|
+ {{- end }}
|
|
|
|
volumes:
|
|
|
|
- name: export
|
|
|
|
{{- if .Values.persistence.enabled }}
|