2021-05-17 22:30:18 +00:00
|
|
|
--- charts-original/templates/deployment.yaml
|
|
|
|
+++ charts/templates/deployment.yaml
|
2024-09-04 18:40:18 +00:00
|
|
|
@@ -50,7 +50,7 @@
|
|
|
|
{{- end }}
|
2021-05-17 22:30:18 +00:00
|
|
|
containers:
|
|
|
|
- name: {{ .Chart.Name }}
|
2024-09-04 18:40:18 +00:00
|
|
|
- image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
|
|
|
+ image: "{{ template "system_default_registry" . }}{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
2021-05-17 22:30:18 +00:00
|
|
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
2023-10-06 01:38:39 +00:00
|
|
|
{{- with .Values.env }}
|
|
|
|
env:
|
2024-09-04 18:40:18 +00:00
|
|
|
@@ -111,6 +111,7 @@
|
|
|
|
{{- with .Values.extraContainers }}
|
|
|
|
{{- toYaml . | nindent 6 }}
|
|
|
|
{{- end }}
|
2021-05-17 22:30:18 +00:00
|
|
|
+ nodeSelector: {{ include "linux-node-selector" . | nindent 8 }}
|
2024-09-04 18:40:18 +00:00
|
|
|
nodeSelector:
|
|
|
|
{{- toYaml .Values.nodeSelector | nindent 8 }}
|
2021-05-17 22:30:18 +00:00
|
|
|
affinity:
|
2024-09-04 18:40:18 +00:00
|
|
|
@@ -124,8 +125,10 @@
|
2021-11-19 22:19:23 +00:00
|
|
|
securityContext:
|
|
|
|
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
|
|
|
{{- end }}
|
2021-05-17 22:30:18 +00:00
|
|
|
- tolerations:
|
|
|
|
- {{- toYaml .Values.tolerations | nindent 8 }}
|
|
|
|
+ tolerations: {{ include "linux-node-tolerations" . | nindent 8 }}
|
2021-10-13 23:36:44 +00:00
|
|
|
+{{- if .Values.tolerations }}
|
|
|
|
+{{- toYaml .Values.tolerations | nindent 8 }}
|
|
|
|
+{{- end }}
|
2021-05-17 22:30:18 +00:00
|
|
|
{{- if .Values.image.pullSecrets }}
|
|
|
|
imagePullSecrets:
|
|
|
|
{{- range .Values.image.pullSecrets }}
|