Merge pull request #1349 from thedoubl3j/fix_task_tolerations

fix task deployment tolerations
This commit is contained in:
Hao Liu
2023-04-11 15:13:59 -04:00
committed by GitHub

View File

@@ -391,10 +391,10 @@ spec:
{% endif %}
{% if task_tolerations %}
tolerations:
{{ task_tolerations | to_nice_yaml | indent(width=8) }}
{{ task_tolerations | indent(width=8) }}
{% elif tolerations %}
tolerations:
{{ tolerations | to_nice_yaml | indent(width=8) }}
{{ tolerations | indent(width=8) }}
{% endif %}
{% if task_affinity %}
affinity: