diff --git a/charts/slo-reporting/templates/cronjob.yaml b/charts/slo-reporting/templates/cronjob.yaml index 8fe6699..5237943 100644 --- a/charts/slo-reporting/templates/cronjob.yaml +++ b/charts/slo-reporting/templates/cronjob.yaml @@ -26,4 +26,16 @@ spec: - '-X' - 'POST' - 'http://{{ include "slo-reporting.fullname" $ }}:{{ .Values.service.port }}/api/slo/_update' + {{- with .Values.nodeSelector }} + nodeSelector: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.affinity }} + affinity: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.tolerations }} + tolerations: + {{- toYaml . | nindent 8 }} + {{- end }} {{- end }}