diff --git a/roles/kubernetes-apps/ingress_controller/ingress_nginx/templates/ds-ingress-nginx-controller.yml.j2 b/roles/kubernetes-apps/ingress_controller/ingress_nginx/templates/ds-ingress-nginx-controller.yml.j2 index 039ccd01d..f0db47bcd 100644 --- a/roles/kubernetes-apps/ingress_controller/ingress_nginx/templates/ds-ingress-nginx-controller.yml.j2 +++ b/roles/kubernetes-apps/ingress_controller/ingress_nginx/templates/ds-ingress-nginx-controller.yml.j2 @@ -28,7 +28,7 @@ spec: {% endif %} {% if ingress_nginx_nodeselector %} nodeSelector: - {{ ingress_nginx_nodeselector | to_nice_yaml }} + {{ ingress_nginx_nodeselector | to_nice_yaml | indent(width=8) }} {%- endif %} {% if ingress_nginx_tolerations %} tolerations: