Fix jinja filters (#4470)

pull/4523/head
Andreas Krüger 2019-04-09 11:19:06 +02:00 committed by Kubernetes Prow Robot
parent b2fa84af61
commit 4d39c1856e
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ data:
kubernetes {{ dns_domain }} in-addr.arpa ip6.arpa {
pods insecure
{% if resolvconf_mode == 'host_resolvconf' and upstream_dns_servers is defined and upstream_dns_servers|length > 0 %}
upstream {{ upstream_dns_servers.join(' ') }}
upstream {{ upstream_dns_servers|join(' ') }}
{% else %}
upstream /etc/resolv.conf
{% endif %}
@ -22,7 +22,7 @@ data:
}
prometheus :9153
{% if resolvconf_mode == 'host_resolvconf' and upstream_dns_servers is defined and upstream_dns_servers|length > 0 %}
forward . {{ upstream_dns_servers.join(' ') }}
forward . {{ upstream_dns_servers|join(' ') }}
{% else %}
forward . /etc/resolv.conf
{% endif %}