Browse Source
Merge pull request #2835 from oracle/bm_fix-apiserver-access-ip
roles/kubernetes/client: kubeconfig template should use access_ip
pull/2837/merge
Aivars Sterns
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
roles/kubernetes/client/tasks/main.yml
|
|
@ -5,7 +5,7 @@ |
|
|
|
{%- if loadbalancer_apiserver is defined and loadbalancer_apiserver.port is defined -%} |
|
|
|
https://{{ apiserver_loadbalancer_domain_name }}:{{ loadbalancer_apiserver.port|default(kube_apiserver_port) }} |
|
|
|
{%- else -%} |
|
|
|
https://{{ kube_apiserver_address }}:{{ kube_apiserver_port }} |
|
|
|
https://{{ kube_apiserver_access_address }}:{{ kube_apiserver_port }} |
|
|
|
{%- endif -%} |
|
|
|
tags: |
|
|
|
- facts |
|
|
|