Skip to content

Commit

Permalink
feat(helm chart): add toleration definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Shape-Klug committed Sep 27, 2023
1 parent ec85d34 commit b524509
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 4 additions & 1 deletion chart/pod-reaper/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ spec:
{{- end }}
resources:
{{ toYaml $.Values.resources | indent 12 }}

{{- with $.Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
---

{{- end -}}
6 changes: 6 additions & 0 deletions chart/pod-reaper/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,9 @@ resources:
requests:
cpu: 20m
memory: 20Mi

tolerations: []
# - key: somekey
# value: somevalue
# effect: NoSchedule
# operator: Equal

0 comments on commit b524509

Please sign in to comment.