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
7007064e
Commit
7007064e
authored
Oct 19, 2016
by
Kubernetes Submit Queue
Committed by
GitHub
Oct 19, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #35160 from mml/luc-cleanup
Automatic merge from submit-queue Remove unneeded double quotes from hack/local-up-cluster.sh.
parents
561ae505
1decca82
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
local-up-cluster.sh
hack/local-up-cluster.sh
+3
-3
No files found.
hack/local-up-cluster.sh
View file @
7007064e
...
@@ -26,7 +26,7 @@ RUNTIME_CONFIG=${RUNTIME_CONFIG:-""}
...
@@ -26,7 +26,7 @@ RUNTIME_CONFIG=${RUNTIME_CONFIG:-""}
NET_PLUGIN
=
${
NET_PLUGIN
:-
""
}
NET_PLUGIN
=
${
NET_PLUGIN
:-
""
}
NET_PLUGIN_DIR
=
${
NET_PLUGIN_DIR
:-
""
}
NET_PLUGIN_DIR
=
${
NET_PLUGIN_DIR
:-
""
}
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
}
"
)
/..
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
}
"
)
/..
SERVICE_CLUSTER_IP_RANGE
=
${
SERVICE_CLUSTER_IP_RANGE
:-
"10.0.0.0/24"
}
SERVICE_CLUSTER_IP_RANGE
=
${
SERVICE_CLUSTER_IP_RANGE
:-
10
.0.0.0/24
}
# We disable cluster DNS by default because this script uses docker0 (or whatever
# We disable cluster DNS by default because this script uses docker0 (or whatever
# container bridge docker is currently using) and we don't know the IP of the
# container bridge docker is currently using) and we don't know the IP of the
# DNS pod to pass in as --cluster-dns. To set this up by hand, set this flag
# DNS pod to pass in as --cluster-dns. To set this up by hand, set this flag
...
@@ -146,7 +146,7 @@ API_HOST_IP=${API_HOST_IP:-"127.0.0.1"}
...
@@ -146,7 +146,7 @@ API_HOST_IP=${API_HOST_IP:-"127.0.0.1"}
API_BIND_ADDR
=
${
API_BIND_ADDR
:-
"0.0.0.0"
}
API_BIND_ADDR
=
${
API_BIND_ADDR
:-
"0.0.0.0"
}
KUBELET_HOST
=
${
KUBELET_HOST
:-
"127.0.0.1"
}
KUBELET_HOST
=
${
KUBELET_HOST
:-
"127.0.0.1"
}
# By default only allow CORS for requests on localhost
# By default only allow CORS for requests on localhost
API_CORS_ALLOWED_ORIGINS
=
${
API_CORS_ALLOWED_ORIGINS
:-
"/127.0.0.1(:[0-9]+)?
$,
/localhost(:[0-9]+)?$"
}
API_CORS_ALLOWED_ORIGINS
=
${
API_CORS_ALLOWED_ORIGINS
:-
/127.0.0.1(
:[0-9]+
)?
$,
/localhost(
:[0-9]+
)?
$
}
KUBELET_PORT=
${
KUBELET_PORT
:-
10250
}
KUBELET_PORT=
${
KUBELET_PORT
:-
10250
}
LOG_LEVEL=
${
LOG_LEVEL
:-
3
}
LOG_LEVEL=
${
LOG_LEVEL
:-
3
}
CONTAINER_RUNTIME=
${
CONTAINER_RUNTIME
:-
"docker"
}
CONTAINER_RUNTIME=
${
CONTAINER_RUNTIME
:-
"docker"
}
...
@@ -294,7 +294,7 @@ function start_etcd {
...
@@ -294,7 +294,7 @@ function start_etcd {
function
set_service_accounts
{
function
set_service_accounts
{
SERVICE_ACCOUNT_LOOKUP
=
${
SERVICE_ACCOUNT_LOOKUP
:-
false
}
SERVICE_ACCOUNT_LOOKUP
=
${
SERVICE_ACCOUNT_LOOKUP
:-
false
}
SERVICE_ACCOUNT_KEY
=
${
SERVICE_ACCOUNT_KEY
:-
"/tmp/kube-serviceaccount.key"
}
SERVICE_ACCOUNT_KEY
=
${
SERVICE_ACCOUNT_KEY
:-
/tmp/kube-serviceaccount.key
}
# Generate ServiceAccount key if needed
# Generate ServiceAccount key if needed
if
[[
!
-f
"
${
SERVICE_ACCOUNT_KEY
}
"
]]
;
then
if
[[
!
-f
"
${
SERVICE_ACCOUNT_KEY
}
"
]]
;
then
mkdir
-p
"
$(
dirname
${
SERVICE_ACCOUNT_KEY
})
"
mkdir
-p
"
$(
dirname
${
SERVICE_ACCOUNT_KEY
})
"
...
...
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