Add nodeSelector, tolerations, affinity to beat

This commit is contained in:
ddelange 2022-07-20 00:52:19 +00:00 committed by David Burke
parent 5419200024
commit 7973dd906d
2 changed files with 15 additions and 0 deletions

View file

@ -60,5 +60,17 @@ spec:
name: {{ include "django.fullname" . }}
- configMapRef:
name: {{ include "django.fullname" . }}
{{- with .Values.beat.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.beat.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.beat.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
{{- end }}