Browse Source

fixup external kube-apiserver port (#4075)

pull/4085/head
Matthew Mosesohn 5 years ago
committed by GitHub
parent
commit
77d31e679a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/kubernetes/client/tasks/main.yml

2
roles/kubernetes/client/tasks/main.yml

@ -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 }}

Loading…
Cancel
Save