mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-23 08:37:54 -02:30
nginx ingress controller should watch kind:ingress without class (#8128)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user