robust handling of API server SANs (#4435)

* robust handling of API server SANs

* use apiserver_loadbalancer_domain_name if it is defined, according to PR 3977
This commit is contained in:
rptaylor
2019-04-08 08:10:35 -07:00
committed by Kubernetes Prow Robot
parent 09bbdadcee
commit f52584a715
5 changed files with 19 additions and 27 deletions

View File

@@ -193,7 +193,7 @@ apiServerExtraVolumes:
{% endif %}
{% endif %}
apiServerCertSANs:
{% for san in apiserver_sans.split() | unique %}
{% for san in apiserver_sans %}
- {{ san }}
{% endfor %}
certificatesDir: {{ kube_cert_dir }}