Skip to content
Snippets Groups Projects
Unverified Commit bc8e16fc authored by dlandtwing's avatar dlandtwing Committed by GitHub
Browse files

nginx ingress: fix yaml for multiple nodeselectors (#6768)

In case multiple nodeselectors are specified in ingress_nginx_nodeselector, the generated daemonset yaml template for nginx is invalid due to missing indentation starting with the second nodeselector
parent 94716245
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment