2021-05-17 22:30:18 +00:00
|
|
|
--- charts-original/templates/daemonset.yaml
|
|
|
|
+++ charts/templates/daemonset.yaml
|
2022-10-26 18:02:37 +00:00
|
|
|
@@ -35,7 +35,7 @@
|
2021-06-22 19:46:25 +00:00
|
|
|
{{- end }}
|
2021-05-17 22:30:18 +00:00
|
|
|
containers:
|
|
|
|
- name: node-exporter
|
2022-10-26 18:02:37 +00:00
|
|
|
- image: {{ include "prometheus-node-exporter.image" . }}
|
|
|
|
+ image: {{ template "system_default_registry" . }}{{ include "prometheus-node-exporter.image" . }}
|
2021-05-17 22:30:18 +00:00
|
|
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
|
|
|
args:
|
|
|
|
- --path.procfs=/host/proc
|
2022-10-26 18:02:37 +00:00
|
|
|
@@ -177,14 +177,14 @@
|
2021-05-17 22:30:18 +00:00
|
|
|
dnsConfig:
|
|
|
|
{{ toYaml . | indent 8 }}
|
|
|
|
{{- end }}
|
2022-10-26 18:02:37 +00:00
|
|
|
+ nodeSelector: {{ include "linux-node-selector" . | nindent 8 }}
|
2021-05-17 22:30:18 +00:00
|
|
|
{{- if .Values.nodeSelector }}
|
|
|
|
- nodeSelector:
|
|
|
|
-{{ toYaml .Values.nodeSelector | indent 8 }}
|
2022-10-26 18:02:37 +00:00
|
|
|
+{{- toYaml .Values.nodeSelector | nindent 8 }}
|
2021-05-17 22:30:18 +00:00
|
|
|
{{- end }}
|
|
|
|
- {{- with .Values.tolerations }}
|
|
|
|
- tolerations:
|
|
|
|
-{{ toYaml . | indent 8 }}
|
|
|
|
- {{- end }}
|
2022-12-20 02:45:06 +00:00
|
|
|
+ tolerations: {{ include "linux-node-tolerations" . | nindent 8 }}
|
|
|
|
+{{- if .Values.tolerations }}
|
|
|
|
+{{- toYaml .Values.tolerations | nindent 8 }}
|
|
|
|
+{{- end }}
|
2021-05-17 22:30:18 +00:00
|
|
|
volumes:
|
|
|
|
- name: proc
|
|
|
|
hostPath:
|