Skip to content

Commit

Permalink
Pass ingress_nginx_extra_args when deploying the nginx-ingress addon (
Browse files Browse the repository at this point in the history
  • Loading branch information
jperville authored and k8s-ci-robot committed Nov 11, 2019
1 parent 14af98e commit 0200138
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions inventory/sample/group_vars/k8s-cluster/addons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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: []
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0200138

Please sign in to comment.