Skip to content

Commit

Permalink
Merge pull request #2 from lsdopen/feat/taints-and-tolerations
Browse files Browse the repository at this point in the history
feat: taints and tolerations
  • Loading branch information
morganrowse authored Oct 17, 2024
2 parents 7de8f1f + 4edfd0f commit 584c2ce
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
9 changes: 9 additions & 0 deletions charts/collector/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,12 @@ spec:
- name: {{ include "chart.fullname" . }}-config
configMap:
name: {{ include "chart.fullname" . }}-config
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}

{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
6 changes: 6 additions & 0 deletions charts/collector/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,9 @@ config:
log:
level: error
console: false # Defaults to structured if false

## @param nodeSelector Node selector for the deployment.
## @param tolerations Node taint tolerations for the deployment.

nodeSelector: {}
tolerations: []

0 comments on commit 584c2ce

Please sign in to comment.