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

pull/5338/head
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: