fixup external kube-apiserver port (#4075)
parent
decbcdc423
commit
77d31e679a
|
@ -8,7 +8,7 @@
|
|||
{{ kube_apiserver_access_address }}
|
||||
{%- endif -%}
|
||||
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) }}
|
||||
{%- else -%}
|
||||
{{ kube_apiserver_port }}
|
||||
|
|
Loading…
Reference in New Issue