From b34a7b7a5dc23c9cd04460089980e2072b80f8ce Mon Sep 17 00:00:00 2001
From: Dominik Hebeler <dominik@suma-ev.de>
Date: Mon, 6 Apr 2020 09:15:10 +0000
Subject: [PATCH] changed anti affinity key to match multiple nodes

---
 chart/templates/deployment.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml
index 27dc1cb9d..b790fdcba 100644
--- a/chart/templates/deployment.yaml
+++ b/chart/templates/deployment.yaml
@@ -35,10 +35,10 @@ spec:
           requiredDuringSchedulingIgnoredDuringExecution:
             nodeSelectorTerms:
             - matchExpressions:
-              - key: kubernetes.io/hostname
+              - key: worker
                 operator: NotIn
                 values:
-                - kubernetestmpworker1
+                - temp
       imagePullSecrets:
 {{ toYaml .Values.image.secrets | indent 10 }}
       securityContext:
-- 
GitLab