Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
55456306
Commit
55456306
authored
Sep 30, 2015
by
Brendan Burns
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #13185 from xsamurai/master
Changed SSH_USER to core instead ubuntu, also applied fixes from #11975
parents
2a6c7a1e
5f5d97b6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
util.sh
cluster/aws/coreos/util.sh
+1
-5
No files found.
cluster/aws/coreos/util.sh
View file @
55456306
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
# A library of helper functions for CoreOS.
# A library of helper functions for CoreOS.
SSH_USER
=
ubuntu
SSH_USER
=
core
function
detect-minion-image
(){
function
detect-minion-image
(){
if
[[
-z
"
${
KUBE_MINION_IMAGE
-
}
"
]]
;
then
if
[[
-z
"
${
KUBE_MINION_IMAGE
-
}
"
]]
;
then
...
@@ -29,9 +29,6 @@ function detect-minion-image (){
...
@@ -29,9 +29,6 @@ function detect-minion-image (){
}
}
function
generate-minion-user-data
()
{
function
generate-minion-user-data
()
{
i
=
$1
# TODO(bakins): Is this actually used?
MINION_PRIVATE_IP
=
$INTERNAL_IP_BASE
.1
${
i
}
# this is a bit of a hack. We make all of our "variables" in
# this is a bit of a hack. We make all of our "variables" in
# our cloud config controlled by env vars from this script
# our cloud config controlled by env vars from this script
...
@@ -44,7 +41,6 @@ function generate-minion-user-data() {
...
@@ -44,7 +41,6 @@ function generate-minion-user-data() {
DNS_SERVER_IP=
$(
yaml-quote
${
DNS_SERVER_IP
:-})
DNS_SERVER_IP=
$(
yaml-quote
${
DNS_SERVER_IP
:-})
DNS_DOMAIN=
$(
yaml-quote
${
DNS_DOMAIN
:-})
DNS_DOMAIN=
$(
yaml-quote
${
DNS_DOMAIN
:-})
MASTER_IP=
$(
yaml-quote
${
MASTER_INTERNAL_IP
})
MASTER_IP=
$(
yaml-quote
${
MASTER_INTERNAL_IP
})
MINION_IP=
$(
yaml-quote
${
MINION_PRIVATE_IP
})
KUBELET_TOKEN=
$(
yaml-quote
${
KUBELET_TOKEN
:-})
KUBELET_TOKEN=
$(
yaml-quote
${
KUBELET_TOKEN
:-})
KUBE_PROXY_TOKEN=
$(
yaml-quote
${
KUBE_PROXY_TOKEN
:-})
KUBE_PROXY_TOKEN=
$(
yaml-quote
${
KUBE_PROXY_TOKEN
:-})
KUBE_BEARER_TOKEN=
$(
yaml-quote
${
KUBELET_TOKEN
:-})
KUBE_BEARER_TOKEN=
$(
yaml-quote
${
KUBELET_TOKEN
:-})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment