Skip to content

Commit

Permalink
feat(node-agent): add possibility to override tolerations
Browse files Browse the repository at this point in the history
  • Loading branch information
rufusnufus committed Sep 26, 2024
1 parent d1a0cf4 commit 9a969b0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions charts/node-agent/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- include "node-agent.affinity" . | nindent 6 }}
tolerations:
- operator: Exists
{{- if .Values.tolerations }}
tolerations: {{ toYaml .Values.tolerations | nindent 8 }}
{{- end }}
priorityClassName: {{ .Values.priorityClassName }}
hostPID: true
containers:
Expand Down
3 changes: 3 additions & 0 deletions charts/node-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ tracesEndpoint: ""
logsEndpoint: ""
profilesEndpoint: ""

tolerations:
- operator: Exists

affinity: {}
# nodeAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
Expand Down

0 comments on commit 9a969b0

Please sign in to comment.