Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
5e648b96
Unverified
Commit
5e648b96
authored
5 years ago
by
Arthur Outhenin-Chalandre
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix default value of kube_api_server_endpoint (#5529)
Signed-off-by:
Arthur Outhenin-Chalandre
<
arthur@cri.epita.fr
>
parent
ac2135e4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/kubespray-defaults/defaults/main.yaml
+2
-2
2 additions, 2 deletions
roles/kubespray-defaults/defaults/main.yaml
with
2 additions
and
2 deletions
roles/kubespray-defaults/defaults/main.yaml
+
2
−
2
View file @
5e648b96
...
...
@@ -450,8 +450,8 @@ loadbalancer_apiserver_type: "nginx"
# applied if only external loadbalancer_apiserver is defined, otherwise ignored
apiserver_loadbalancer_domain_name
:
"
lb-apiserver.kubernetes.local"
kube_apiserver_endpoint
:
|-
{% if loadbalancer_apiserver is defined
and loadbalancer_apiserver.port is defined
-%}
https://{{ apiserver_loadbalancer_domain_name
|default('lb-apiserver.kubernetes.local')
}}:{{ loadbalancer_apiserver.port|default(kube_apiserver_port) }}
{% if loadbalancer_apiserver is defined -%}
https://{{ apiserver_loadbalancer_domain_name }}:{{ loadbalancer_apiserver.port|default(kube_apiserver_port) }}
{%- elif not is_kube_master and loadbalancer_apiserver_localhost -%}
https://localhost:{{ loadbalancer_apiserver_port|default(kube_apiserver_port) }}
{%- elif is_kube_master -%}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment