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
c056a46b
Commit
c056a46b
authored
Apr 19, 2019
by
suigh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update the output of install-etcd.sh, show how to export the environment of etcd.
parent
25248470
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
etcd.sh
hack/lib/etcd.sh
+4
-4
No files found.
hack/lib/etcd.sh
View file @
c056a46b
...
...
@@ -112,9 +112,9 @@ kube::etcd::install() {
cd
"
${
KUBE_ROOT
}
/third_party"
||
return
1
if
[[
$(
readlink
etcd
)
==
etcd-v
${
ETCD_VERSION
}
-
${
os
}
-
*
]]
;
then
kube::log::info
"etcd v
${
ETCD_VERSION
}
already installed
at path
:"
kube::log::info
"
$(
pwd
)
/
$(
readlink
etcd
)
"
return
#
already installed
kube::log::info
"etcd v
${
ETCD_VERSION
}
already installed
. To use
:"
kube::log::info
"
export PATH=
\"
$(
pwd
)
/etcd:
\$
{PATH}
\"
"
return
#already installed
fi
if
[[
${
os
}
==
"darwin"
]]
;
then
...
...
@@ -133,6 +133,6 @@ kube::etcd::install() {
rm
"
${
download_file
}
"
fi
kube::log::info
"etcd v
${
ETCD_VERSION
}
installed. To use:"
kube::log::info
"export PATH=
$(
pwd
)
/etcd:
\$
{PATH}
"
kube::log::info
"export PATH=
\"
$(
pwd
)
/etcd:
\$
{PATH}
\"
"
)
}
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