From 1e98e8444e57ff25a3316a1faec5928d5a8b21b9 Mon Sep 17 00:00:00 2001 From: Derek Lemon Date: Wed, 13 Jun 2018 18:52:35 +0000 Subject: [PATCH] Using dns domain instead of cluster name for coredns, incase they differ --- roles/kubernetes-apps/ansible/templates/coredns-config.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kubernetes-apps/ansible/templates/coredns-config.yml.j2 b/roles/kubernetes-apps/ansible/templates/coredns-config.yml.j2 index 360480c1e..34cd4b77e 100644 --- a/roles/kubernetes-apps/ansible/templates/coredns-config.yml.j2 +++ b/roles/kubernetes-apps/ansible/templates/coredns-config.yml.j2 @@ -11,7 +11,7 @@ data: .:53 { errors health - kubernetes {{ cluster_name }} in-addr.arpa ip6.arpa { + kubernetes {{ dns_domain }} in-addr.arpa ip6.arpa { pods insecure upstream /etc/resolv.conf fallthrough in-addr.arpa ip6.arpa