nginx ingress controller should watch kind:ingress without class (#8128)
This commit is contained in:
parent
6f6fad5a16
commit
0b441ade2c
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue