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
69dd010a
Commit
69dd010a
authored
Nov 27, 2017
by
Marcin Owsiany
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unmute curl when fetching cfssl.
parent
e7ad6e60
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
util.sh
hack/lib/util.sh
+4
-4
No files found.
hack/lib/util.sh
View file @
69dd010a
...
@@ -737,12 +737,12 @@ function kube::util::ensure-cfssl {
...
@@ -737,12 +737,12 @@ function kube::util::ensure-cfssl {
kernel
=
$(
uname
-s
)
kernel
=
$(
uname
-s
)
case
"
${
kernel
}
"
in
case
"
${
kernel
}
"
in
Linux
)
Linux
)
curl
--retry
10
-
s
-
L
-o
cfssl https://pkg.cfssl.org/R1.2/cfssl_linux-amd64
curl
--retry
10
-L
-o
cfssl https://pkg.cfssl.org/R1.2/cfssl_linux-amd64
curl
--retry
10
-
s
-
L
-o
cfssljson https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64
curl
--retry
10
-L
-o
cfssljson https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64
;;
;;
Darwin
)
Darwin
)
curl
--retry
10
-
s
-
L
-o
cfssl https://pkg.cfssl.org/R1.2/cfssl_darwin-amd64
curl
--retry
10
-L
-o
cfssl https://pkg.cfssl.org/R1.2/cfssl_darwin-amd64
curl
--retry
10
-
s
-
L
-o
cfssljson https://pkg.cfssl.org/R1.2/cfssljson_darwin-amd64
curl
--retry
10
-L
-o
cfssljson https://pkg.cfssl.org/R1.2/cfssljson_darwin-amd64
;;
;;
*
)
*
)
echo
"Unknown, unsupported platform:
${
kernel
}
."
>
&2
echo
"Unknown, unsupported platform:
${
kernel
}
."
>
&2
...
...
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