ingress-nginx: container download related things should defined in the download role

This commit is contained in:
Wong Hoi Sing Edison
2018-03-31 16:04:24 +08:00
parent 5b0da4279f
commit 5fe144aa0f
5 changed files with 25 additions and 13 deletions

View File

@@ -27,10 +27,8 @@ spec:
{% if ingress_nginx_host_network %}
hostNetwork: true
{% endif %}
{% if 'kube-ingress' in groups and groups['kube-ingress']|length > 0 %}
nodeSelector:
node-role.kubernetes.io/ingress: "true"
{% endif %}
terminationGracePeriodSeconds: 60
containers:
- name: ingress-nginx-controller