From 249b038639eb493a21323fa8f8eaee2c7e295134 Mon Sep 17 00:00:00 2001 From: lilHermit Date: Tue, 7 May 2024 09:04:21 +0100 Subject: [PATCH] Resolves kube-vip/helm-charts#25 --- charts/kube-vip-cloud-provider/templates/deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/kube-vip-cloud-provider/templates/deployment.yaml b/charts/kube-vip-cloud-provider/templates/deployment.yaml index 8ce7197..4fe9d0a 100644 --- a/charts/kube-vip-cloud-provider/templates/deployment.yaml +++ b/charts/kube-vip-cloud-provider/templates/deployment.yaml @@ -27,3 +27,7 @@ spec: tolerations: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.affinity }} + affinity: + {{- toYaml . | nindent 8 }} + {{- end }}