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
44a36ea3
Commit
44a36ea3
authored
Jan 11, 2019
by
Bin Lu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix: ./hack/local-up-cluster.sh is not work on Arm64 platform
Signed-off-by:
Bin Lu
<
bin.lu@arm.com
>
parent
8b98e802
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
util.sh
hack/lib/util.sh
+9
-0
No files found.
hack/lib/util.sh
View file @
44a36ea3
...
@@ -697,6 +697,15 @@ function kube::util::ensure-cfssl {
...
@@ -697,6 +697,15 @@ function kube::util::ensure-cfssl {
return
0
return
0
fi
fi
host_arch
=
$(
kube::util::host_arch
)
if
[[
"
${
host_arch
}
"
!=
"amd64"
]]
;
then
echo
"Cannot download cfssl on non-amd64 hosts and cfssl does not appear to be installed."
echo
"Please install cfssl and cfssljson and verify they are in
\$
PATH."
echo
"Hint: export PATH=
\$
PATH:
\$
GOPATH/bin; go get -u github.com/cloudflare/cfssl/cmd/..."
exit
1
fi
# Create a temp dir for cfssl if no directory was given
# Create a temp dir for cfssl if no directory was given
local
cfssldir
=
${
1
:-}
local
cfssldir
=
${
1
:-}
if
[[
-z
"
${
cfssldir
}
"
]]
;
then
if
[[
-z
"
${
cfssldir
}
"
]]
;
then
...
...
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