diff --git a/chart/templates/005-CronJob.yaml b/chart/templates/005-CronJob.yaml index bc999f4..0a9f060 100644 --- a/chart/templates/005-CronJob.yaml +++ b/chart/templates/005-CronJob.yaml @@ -68,3 +68,7 @@ spec: - name: DOCKER_REGISTRIES value: {{ .Values.registries }} {{- end }} +{{- with .Values.tolerations }} + tolerations: + {{- toYaml . | nindent 12 }} +{{- end }} diff --git a/chart/values.yaml b/chart/values.yaml index 46cb88c..a8c944d 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -63,4 +63,7 @@ aws: secretAccessKey: 'AWS_SECRET_ACCESS_KEY' # Pod annotations for the pods that are created by the cronjob -podAnnotations: {} \ No newline at end of file +podAnnotations: {} + +# Pod tolerations for the cron job +tolerations: {}