Add ability to setup virtual ip for ingress-controller (#5044)
This commit is contained in:
parent
678c316d01
commit
b710c72f04
3 changed files with 5 additions and 0 deletions
|
@ -80,6 +80,7 @@ rbd_provisioner_enabled: false
|
||||||
# Nginx ingress controller deployment
|
# Nginx ingress controller deployment
|
||||||
ingress_nginx_enabled: false
|
ingress_nginx_enabled: false
|
||||||
# ingress_nginx_host_network: false
|
# ingress_nginx_host_network: false
|
||||||
|
ingress_publish_status_address: ""
|
||||||
# ingress_nginx_nodeselector:
|
# ingress_nginx_nodeselector:
|
||||||
# beta.kubernetes.io/os: "linux"
|
# beta.kubernetes.io/os: "linux"
|
||||||
# ingress_nginx_tolerations:
|
# ingress_nginx_tolerations:
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
ingress_nginx_namespace: "ingress-nginx"
|
ingress_nginx_namespace: "ingress-nginx"
|
||||||
ingress_nginx_host_network: false
|
ingress_nginx_host_network: false
|
||||||
|
ingress_publish_status_address: ""
|
||||||
ingress_nginx_nodeselector:
|
ingress_nginx_nodeselector:
|
||||||
beta.kubernetes.io/os: "linux"
|
beta.kubernetes.io/os: "linux"
|
||||||
ingress_nginx_tolerations: []
|
ingress_nginx_tolerations: []
|
||||||
|
|
|
@ -47,6 +47,9 @@ spec:
|
||||||
- --annotations-prefix=nginx.ingress.kubernetes.io
|
- --annotations-prefix=nginx.ingress.kubernetes.io
|
||||||
{% if ingress_nginx_host_network %}
|
{% if ingress_nginx_host_network %}
|
||||||
- --report-node-internal-ip-address
|
- --report-node-internal-ip-address
|
||||||
|
{% endif %}
|
||||||
|
{% if ingress_publish_status_address != "" %}
|
||||||
|
- --publish-status-address={{ ingress_publish_status_address }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
securityContext:
|
securityContext:
|
||||||
capabilities:
|
capabilities:
|
||||||
|
|
Loading…
Reference in a new issue