2021-05-17 22:30:18 +00:00
|
|
|
--- charts-original/templates/daemonset.yaml
|
|
|
|
+++ charts/templates/daemonset.yaml
|
2021-06-22 19:46:25 +00:00
|
|
|
@@ -35,7 +35,7 @@
|
|
|
|
{{- end }}
|
2021-05-17 22:30:18 +00:00
|
|
|
containers:
|
|
|
|
- name: node-exporter
|
|
|
|
- image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
|
|
|
+ image: "{{ template "system_default_registry" . }}{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
|
|
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
|
|
|
args:
|
|
|
|
- --path.procfs=/host/proc
|
2021-06-22 19:46:25 +00:00
|
|
|
@@ -133,18 +133,18 @@
|
2021-05-17 22:30:18 +00:00
|
|
|
affinity:
|
|
|
|
{{ toYaml .Values.affinity | indent 8 }}
|
|
|
|
{{- end }}
|
|
|
|
+ nodeSelector: {{ include "linux-node-selector" . | nindent 8 }}
|
|
|
|
{{- with .Values.dnsConfig }}
|
|
|
|
dnsConfig:
|
|
|
|
{{ toYaml . | indent 8 }}
|
|
|
|
{{- end }}
|
|
|
|
{{- if .Values.nodeSelector }}
|
|
|
|
- nodeSelector:
|
|
|
|
-{{ toYaml .Values.nodeSelector | indent 8 }}
|
|
|
|
+{{- toYaml .Values.Selector | nindent 8 }}
|
|
|
|
+{{- end }}
|
|
|
|
+ tolerations: {{ include "linux-node-tolerations" . | nindent 8 }}
|
|
|
|
+{{- if .Values.tolerations }}
|
|
|
|
+{{- toYaml .Values.tolerations | nindent 8 }}
|
|
|
|
{{- end }}
|
|
|
|
- {{- with .Values.tolerations }}
|
|
|
|
- tolerations:
|
|
|
|
-{{ toYaml . | indent 8 }}
|
|
|
|
- {{- end }}
|
|
|
|
volumes:
|
|
|
|
- name: proc
|
|
|
|
hostPath:
|