Skip to content

Commit

Permalink
fixup external kube-apiserver port (kubernetes-sigs#4075)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattymo authored Jan 21, 2019
1 parent decbcdc commit 77d31e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/kubernetes/client/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 77d31e6

Please sign in to comment.