Browse Source

Aligned existing handling of extra DNS tolerations

Signed-off-by: Sébastien Masset <smt.masset@gmail.com>
pull/9240/head
Sébastien Masset 2 years ago
committed by Florian Ruynat
parent
commit
29d81f7617
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/kubernetes-apps/ansible/templates/coredns-deployment.yml.j2

2
roles/kubernetes-apps/ansible/templates/coredns-deployment.yml.j2

@ -34,7 +34,7 @@ spec:
effect: NoSchedule effect: NoSchedule
- key: node-role.kubernetes.io/control-plane - key: node-role.kubernetes.io/control-plane
effect: NoSchedule effect: NoSchedule
{% if dns_extra_tolerations | default(None) %}
{% if dns_extra_tolerations is defined %}
{{ dns_extra_tolerations | list | to_nice_yaml(indent=2) | indent(8) }} {{ dns_extra_tolerations | list | to_nice_yaml(indent=2) | indent(8) }}
{% endif %} {% endif %}
affinity: affinity:

Loading…
Cancel
Save