Pass ingress_nginx_extra_args when deploying the nginx-ingress addon (#5321)

This commit is contained in:
Julien Pervillé 2019-11-11 12:51:41 +01:00 committed by Kubernetes Prow Robot
parent 14af98ebdc
commit 0200138a5d
3 changed files with 6 additions and 0 deletions

View file

@ -98,6 +98,8 @@ ingress_publish_status_address: ""
# 9000: "default/example-go:8080"
# ingress_nginx_configmap_udp_services:
# 53: "kube-system/coredns:53"
# ingress_nginx_extra_args:
# - --default-ssl-certificate=default/foo-tls
# Cert manager deployment
cert_manager_enabled: false

View file

@ -10,3 +10,4 @@ ingress_nginx_secure_port: 443
ingress_nginx_configmap: {}
ingress_nginx_configmap_tcp_services: {}
ingress_nginx_configmap_udp_services: {}
ingress_nginx_extra_args: []

View file

@ -51,6 +51,9 @@ spec:
{% if ingress_publish_status_address != "" %}
- --publish-status-address={{ ingress_publish_status_address }}
{% endif %}
{% for extra_arg in ingress_nginx_extra_args %}
- {{ extra_arg }}
{% endfor %}
securityContext:
capabilities:
drop: