Add ability to setup virtual ip for ingress-controller (#5044)

This commit is contained in:
Maxim Snezhkov 2019-08-07 09:24:50 +07:00 committed by Kubernetes Prow Robot
parent 678c316d01
commit b710c72f04
3 changed files with 5 additions and 0 deletions

View file

@ -80,6 +80,7 @@ rbd_provisioner_enabled: false
# Nginx ingress controller deployment
ingress_nginx_enabled: false
# ingress_nginx_host_network: false
ingress_publish_status_address: ""
# ingress_nginx_nodeselector:
# beta.kubernetes.io/os: "linux"
# ingress_nginx_tolerations:

View file

@ -1,6 +1,7 @@
---
ingress_nginx_namespace: "ingress-nginx"
ingress_nginx_host_network: false
ingress_publish_status_address: ""
ingress_nginx_nodeselector:
beta.kubernetes.io/os: "linux"
ingress_nginx_tolerations: []

View file

@ -47,6 +47,9 @@ spec:
- --annotations-prefix=nginx.ingress.kubernetes.io
{% if ingress_nginx_host_network %}
- --report-node-internal-ip-address
{% endif %}
{% if ingress_publish_status_address != "" %}
- --publish-status-address={{ ingress_publish_status_address }}
{% endif %}
securityContext:
capabilities: