2021-05-17 22:30:18 +00:00
|
|
|
--- charts-original/templates/deployment.yaml
|
|
|
|
+++ charts/templates/deployment.yaml
|
2023-10-06 01:38:39 +00:00
|
|
|
@@ -46,7 +46,7 @@
|
2021-05-17 22:30:18 +00:00
|
|
|
{{- end}}
|
|
|
|
containers:
|
|
|
|
- name: {{ .Chart.Name }}
|
|
|
|
- image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
|
|
|
+ image: "{{ template "system_default_registry" . }}{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
|
|
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
2023-10-06 01:38:39 +00:00
|
|
|
{{- with .Values.env }}
|
|
|
|
env:
|
2024-09-03 14:34:20 +00:00
|
|
|
@@ -60,7 +60,6 @@
|
|
|
|
- --tls-private-key-file=/var/run/serving-cert/tls.key
|
|
|
|
{{- end }}
|
|
|
|
- --cert-dir=/tmp/cert
|
|
|
|
- - --logtostderr=true
|
|
|
|
- --prometheus-url={{ tpl .Values.prometheus.url . }}{{ if .Values.prometheus.port }}:{{ .Values.prometheus.port }}{{end}}{{ .Values.prometheus.path }}
|
|
|
|
- --metrics-relist-interval={{ .Values.metricsRelistInterval }}
|
|
|
|
- --v={{ .Values.logLevel }}
|
|
|
|
@@ -105,8 +104,10 @@
|
2021-05-17 22:30:18 +00:00
|
|
|
name: volume-serving-cert
|
|
|
|
readOnly: true
|
|
|
|
{{- end }}
|
|
|
|
- nodeSelector:
|
|
|
|
- {{- toYaml .Values.nodeSelector | nindent 8 }}
|
|
|
|
+ nodeSelector: {{ include "linux-node-selector" . | nindent 8 }}
|
|
|
|
+{{- if .Values.nodeSelector }}
|
|
|
|
+{{- toYaml .Values.nodeSelector | nindent 8 }}
|
|
|
|
+{{- end }}
|
|
|
|
affinity:
|
|
|
|
{{- toYaml .Values.affinity | nindent 8 }}
|
2022-10-26 18:02:37 +00:00
|
|
|
topologySpreadConstraints:
|
2024-09-03 14:34:20 +00:00
|
|
|
@@ -116,8 +117,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 }}
|