Skip to content

Commit 5551280

Browse files
Sanghamitra-PERSONALkarl-johan-grahn
andauthoredJan 10, 2024
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>
1 parent 66ac979 commit 5551280

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎deployments/kubernetes/chart/reloader/templates/deployment.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@ spec:
5757
affinity:
5858
{{- if .Values.reloader.deployment.affinity }}
5959
{{ toYaml .Values.reloader.deployment.affinity | indent 8 }}
60-
{{- end}}
60+
{{- else }}
6161
{{ include "reloader-podAntiAffinity" . | indent 8 }}
62+
{{- end }}
6263
{{- end }}
6364
{{- if .Values.reloader.deployment.tolerations }}
6465
tolerations:

0 commit comments

Comments
 (0)
Please sign in to comment.