From a2a35d0a4004c6ea456967610f38a21439c6b698 Mon Sep 17 00:00:00 2001 From: thedoubl3j Date: Tue, 11 Apr 2023 14:26:51 -0400 Subject: [PATCH] remove to_nice_yaml from tolerations in the task deployment which caused in malformed yaml to be rendered for the task deployment --- roles/installer/templates/deployments/task.yaml.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/installer/templates/deployments/task.yaml.j2 b/roles/installer/templates/deployments/task.yaml.j2 index 4c461948..09ead4e1 100644 --- a/roles/installer/templates/deployments/task.yaml.j2 +++ b/roles/installer/templates/deployments/task.yaml.j2 @@ -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: