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
dc36f3a7
Commit
dc36f3a7
authored
Jan 13, 2016
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #19404 from nagarjung/update-get-kube
Auto commit by PR queue bot
parents
5007d7c4
fc9cac15
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
get-kube.sh
cluster/get-kube.sh
+2
-3
No files found.
cluster/get-kube.sh
View file @
dc36f3a7
...
@@ -120,9 +120,9 @@ if [[ -n "${KUBERNETES_SKIP_CONFIRM-}" ]]; then
...
@@ -120,9 +120,9 @@ if [[ -n "${KUBERNETES_SKIP_CONFIRM-}" ]]; then
fi
fi
if
[[
$(
which wget
)
]]
;
then
if
[[
$(
which wget
)
]]
;
then
wget
-
O
${
file
}
${
release_url
}
wget
-
N
${
release_url
}
elif
[[
$(
which curl
)
]]
;
then
elif
[[
$(
which curl
)
]]
;
then
curl
-L
-
o
${
file
}
${
release_url
}
curl
-L
-
z
${
file
}
${
release_url
}
-o
${
file
}
else
else
echo
"Couldn't find curl or wget. Bailing out."
echo
"Couldn't find curl or wget. Bailing out."
exit
1
exit
1
...
@@ -130,6 +130,5 @@ fi
...
@@ -130,6 +130,5 @@ fi
echo
"Unpacking kubernetes release
${
release
}
"
echo
"Unpacking kubernetes release
${
release
}
"
tar
-xzf
${
file
}
tar
-xzf
${
file
}
rm
${
file
}
create_cluster
create_cluster
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