mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 09:39:12 +03:00
Publish the ingress-nginx service address if manual address not defined and not using host network (#11879)
This commit is contained in:
@@ -6,6 +6,7 @@ ingress_nginx_service_nodeport_http: ""
|
|||||||
ingress_nginx_service_nodeport_https: ""
|
ingress_nginx_service_nodeport_https: ""
|
||||||
ingress_nginx_service_annotations: {}
|
ingress_nginx_service_annotations: {}
|
||||||
ingress_publish_status_address: ""
|
ingress_publish_status_address: ""
|
||||||
|
ingress_nginx_publish_service: "{{ ingress_nginx_namespace }}/ingress-nginx"
|
||||||
ingress_nginx_nodeselector:
|
ingress_nginx_nodeselector:
|
||||||
kubernetes.io/os: "linux"
|
kubernetes.io/os: "linux"
|
||||||
ingress_nginx_tolerations: []
|
ingress_nginx_tolerations: []
|
||||||
|
|||||||
@@ -79,11 +79,12 @@ spec:
|
|||||||
{% if ingress_nginx_without_class %}
|
{% if ingress_nginx_without_class %}
|
||||||
- --watch-ingress-without-class=true
|
- --watch-ingress-without-class=true
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if ingress_nginx_host_network %}
|
|
||||||
- --report-node-internal-ip-address
|
|
||||||
{% endif %}
|
|
||||||
{% if ingress_publish_status_address != "" %}
|
{% if ingress_publish_status_address != "" %}
|
||||||
- --publish-status-address={{ ingress_publish_status_address }}
|
- --publish-status-address={{ ingress_publish_status_address }}
|
||||||
|
{% elif ingress_nginx_host_network %}
|
||||||
|
- --report-node-internal-ip-address
|
||||||
|
{% elif ingress_nginx_publish_service != "" %}
|
||||||
|
- --publish-service={{ ingress_nginx_publish_service }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% for extra_arg in ingress_nginx_extra_args %}
|
{% for extra_arg in ingress_nginx_extra_args %}
|
||||||
- {{ extra_arg }}
|
- {{ extra_arg }}
|
||||||
|
|||||||
Reference in New Issue
Block a user