nginx ingress controller should watch kind:ingress without class (#8128)
parent
6f6fad5a16
commit
0b441ade2c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue