fixup external kube-apiserver port (#4075)

pull/4085/head
Matthew Mosesohn 2019-01-21 14:43:27 +03:00 committed by GitHub
parent decbcdc423
commit 77d31e679a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
{{ kube_apiserver_access_address }} {{ kube_apiserver_access_address }}
{%- endif -%} {%- endif -%}
external_apiserver_port: >- external_apiserver_port: >-
{%- if loadbalancer_apiserver is defined and loadbalancer_apiserver.address and loadbalancer_apiserver.port is defined -%} {%- if loadbalancer_apiserver is defined and loadbalancer_apiserver.address is defined and loadbalancer_apiserver.port is defined -%}
{{ loadbalancer_apiserver.port|default(kube_apiserver_port) }} {{ loadbalancer_apiserver.port|default(kube_apiserver_port) }}
{%- else -%} {%- else -%}
{{ kube_apiserver_port }} {{ kube_apiserver_port }}