Skip to content
Snippets Groups Projects
Commit 69e5deec authored by peerapach's avatar peerapach Committed by Kubernetes Prow Robot
Browse files

Fix newline issue of priorityClassName when enable tolerations (#4164)

parent 2e1e2721
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ spec:
{% if ingress_nginx_tolerations %}
tolerations:
{{ ingress_nginx_tolerations | to_nice_yaml(indent=2) | indent(width=8) }}
{%- endif %}
{% endif %}
{% if kube_version is version('v1.11.1', '>=') %}
priorityClassName: {% if ingress_nginx_namespace == 'kube-system' %}system-node-critical{% else %}k8s-cluster-critical{% endif %}{{''}}
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment