Skip to content

Commit

Permalink
feat: support tolerations (#68)
Browse files Browse the repository at this point in the history
Required for our clusters where we sometimes
use fully tainted nodes
  • Loading branch information
cep21 authored May 26, 2024
1 parent bc3eef5 commit 8220e1d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions chart/templates/005-CronJob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,7 @@ spec:
- name: DOCKER_REGISTRIES
value: {{ .Values.registries }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 12 }}
{{- end }}
5 changes: 4 additions & 1 deletion chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,7 @@ aws:
secretAccessKey: 'AWS_SECRET_ACCESS_KEY'

# Pod annotations for the pods that are created by the cronjob
podAnnotations: {}
podAnnotations: {}

# Pod tolerations for the cron job
tolerations: {}

0 comments on commit 8220e1d

Please sign in to comment.