Skip to content

Commit

Permalink
Fix newline issue of priorityClassName when enable tolerations (#4164)
Browse files Browse the repository at this point in the history
  • Loading branch information
peerapach authored and k8s-ci-robot committed Feb 4, 2019
1 parent 2e1e272 commit 69e5dee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down

0 comments on commit 69e5dee

Please sign in to comment.