Aligned existing handling of extra DNS tolerations

Signed-off-by: Sébastien Masset <smt.masset@gmail.com>
This commit is contained in:
Sébastien Masset 2022-06-11 06:22:29 +02:00 committed by Florian Ruynat
parent 2546eb2559
commit 29d81f7617

View file

@ -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: