Add ability to setup virtual ip for ingress-controller (#5044)
parent
678c316d01
commit
b710c72f04
|
@ -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:
|
||||
|
|
|
@ -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: []
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue