Enabled the option to set user assigned affinity value (#596)

* Enabled the option to set user assigned affinity value

* Fixing the space

---------

Co-authored-by: Karl-Johan Grahn <6355577+karl-johan-grahn@users.noreply.github.com>
This commit is contained in:
Sanghamitra-PERSONAL
2024-01-10 15:22:23 +01:00
committed by GitHub
co-authored by Karl-Johan Grahn
parent 66ac979ea2
commit 5551280554
@@ -57,8 +57,9 @@ spec:
affinity:
{{- if .Values.reloader.deployment.affinity }}
{{ toYaml .Values.reloader.deployment.affinity | indent 8 }}
{{- end}}
{{- else }}
{{ include "reloader-podAntiAffinity" . | indent 8 }}
{{- end }}
{{- end }}
{{- if .Values.reloader.deployment.tolerations }}
tolerations: