Remove upstreamsvc option from nodelocaldns

* Since we configure the upstream server through ansible templating,
this arugment has no impact on node-cache
pull/11238/head
Evan Anderson 2024-05-27 15:32:53 -05:00
parent 454be28c07
commit c6d9c16464
No known key found for this signature in database
GPG Key ID: 843CA81BB70B8CE8
2 changed files with 1 additions and 3 deletions

View File

@ -44,8 +44,6 @@ spec:
- {{ nodelocaldns_ip }} - {{ nodelocaldns_ip }}
- -conf - -conf
- /etc/Corefile - /etc/Corefile
- -upstreamsvc
- coredns
{% if enable_nodelocaldns_secondary %} {% if enable_nodelocaldns_secondary %}
- -skipteardown - -skipteardown
{% else %} {% else %}

View File

@ -39,7 +39,7 @@ spec:
requests: requests:
cpu: {{ nodelocaldns_cpu_requests }} cpu: {{ nodelocaldns_cpu_requests }}
memory: {{ nodelocaldns_memory_requests }} memory: {{ nodelocaldns_memory_requests }}
args: [ "-localip", "{{ nodelocaldns_ip }}", "-conf", "/etc/Corefile", "-upstreamsvc", "coredns", "-skipteardown" ] args: [ "-localip", "{{ nodelocaldns_ip }}", "-conf", "/etc/Corefile", "-skipteardown" ]
securityContext: securityContext:
privileged: true privileged: true
{% if nodelocaldns_bind_metrics_host_ip %} {% if nodelocaldns_bind_metrics_host_ip %}