From 5daadc022d5e4081d4572c3dd4612524ddb559ec Mon Sep 17 00:00:00 2001
From: Egor <iam@aylium.net>
Date: Thu, 22 Nov 2018 16:27:25 +0300
Subject: [PATCH] Fix: nodeAffinity for coredns-deployment and
 kubedns-deployment (#3746)

---
 .../kubernetes-apps/ansible/templates/coredns-deployment.yml.j2 | 2 +-
 roles/kubernetes-apps/ansible/templates/kubedns-deploy.yml.j2   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/roles/kubernetes-apps/ansible/templates/coredns-deployment.yml.j2 b/roles/kubernetes-apps/ansible/templates/coredns-deployment.yml.j2
index a1da84eb4..87dc036d2 100644
--- a/roles/kubernetes-apps/ansible/templates/coredns-deployment.yml.j2
+++ b/roles/kubernetes-apps/ansible/templates/coredns-deployment.yml.j2
@@ -51,7 +51,7 @@ spec:
               - key: node-role.kubernetes.io/master
                 operator: In
                 values:
-                - "true"
+                - ""
       containers:
       - name: coredns
         image: "{{ coredns_image_repo }}:{{ coredns_image_tag }}"
diff --git a/roles/kubernetes-apps/ansible/templates/kubedns-deploy.yml.j2 b/roles/kubernetes-apps/ansible/templates/kubedns-deploy.yml.j2
index ef9fa5dbf..fa2507115 100644
--- a/roles/kubernetes-apps/ansible/templates/kubedns-deploy.yml.j2
+++ b/roles/kubernetes-apps/ansible/templates/kubedns-deploy.yml.j2
@@ -54,7 +54,7 @@ spec:
               - key: node-role.kubernetes.io/master
                 operator: In
                 values:
-                - "true"
+                - ""
       volumes:
       - name: kube-dns-config
         configMap:
-- 
GitLab