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
e6c88db0
Commit
e6c88db0
authored
7 years ago
by
Aivars Sterns
Committed by
Matthew Mosesohn
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
change how terraform generates apiserver variables (#1922)
parent
c0e989b1
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
contrib/terraform/aws/create-infrastructure.tf
+1
-2
1 addition, 2 deletions
contrib/terraform/aws/create-infrastructure.tf
contrib/terraform/aws/templates/inventory.tpl
+1
-2
1 addition, 2 deletions
contrib/terraform/aws/templates/inventory.tpl
with
2 additions
and
4 deletions
contrib/terraform/aws/create-infrastructure.tf
+
1
−
2
View file @
e6c88db0
...
...
@@ -172,8 +172,7 @@ data "template_file" "inventory" {
list_node
=
"
${
join
(
"
\n
"
,
aws_instance
.
k8s-worker
.
*
.
tags
.
Name
)}
"
list_etcd
=
"
${
join
(
"
\n
"
,
aws_instance
.
k8s-etcd
.
*
.
tags
.
Name
)}
"
elb_api_fqdn
=
"apiserver_loadbalancer_domain_name=
\"
${
module
.
aws-elb
.
aws_elb_api_fqdn
}
\"
"
elb_api_port
=
"loadbalancer_apiserver.port=
${
var
.
aws_elb_api_port
}
"
loadbalancer_apiserver_address
=
"loadbalancer_apiserver.address=
${
var
.
loadbalancer_apiserver_address
}
"
elb_api_server
=
"loadbalancer_apiserver={
\"
port
\"
:
${
var
.
aws_elb_api_port
}
,
\"
address
\"
:
\"
${
var
.
loadbalancer_apiserver_address
}
\"
}"
}
}
...
...
This diff is collapsed.
Click to expand it.
contrib/terraform/aws/templates/inventory.tpl
+
1
−
2
View file @
e6c88db0
...
...
@@ -25,5 +25,4 @@ kube-master
[k8s-cluster:vars]
$
{
elb_api_fqdn
}
$
{
elb_api_port
}
$
{
loadbalancer_apiserver_address
}
$
{
elb_api_server
}
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