remove to_nice_yaml from tolerations in the task deployment which caused in malformed yaml to be rendered for the task deployment

This commit is contained in:
thedoubl3j
2023-04-11 14:26:51 -04:00
parent 4589e2849d
commit a2a35d0a40

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: