nginx ingress controller should watch kind:ingress without class (#8128)

This commit is contained in:
Sergey 2021-10-28 21:48:59 +03:00 committed by GitHub
parent 6f6fad5a16
commit 0b441ade2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,6 +52,8 @@ spec:
- --annotations-prefix=nginx.ingress.kubernetes.io - --annotations-prefix=nginx.ingress.kubernetes.io
{% if ingress_nginx_class is defined %} {% if ingress_nginx_class is defined %}
- --ingress-class={{ ingress_nginx_class }} - --ingress-class={{ ingress_nginx_class }}
{% else %}
- --watch-ingress-without-class=true
{% endif %} {% endif %}
{% if ingress_nginx_host_network %} {% if ingress_nginx_host_network %}
- --report-node-internal-ip-address - --report-node-internal-ip-address