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
ec44cc2e
Commit
ec44cc2e
authored
May 01, 2017
by
Davanum Srinivas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow specifying cluster signing ca/key
Makes it useful in testing some scenarios with automatically signing certificates
parent
4998d78f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
local-up-cluster.sh
hack/local-up-cluster.sh
+4
-2
No files found.
hack/local-up-cluster.sh
View file @
ec44cc2e
...
...
@@ -213,6 +213,8 @@ ENABLE_CONTROLLER_ATTACH_DETACH=${ENABLE_CONTROLLER_ATTACH_DETACH:-"true"} # cur
CERT_DIR=
${
CERT_DIR
:-
"/var/run/kubernetes"
}
ROOT_CA_FILE=
${
CERT_DIR
}
/server-ca.crt
ROOT_CA_KEY=
${
CERT_DIR
}
/server-ca.key
CLUSTER_SIGNING_CERT_FILE=
${
CLUSTER_SIGNING_CERT_FILE
:-
"
${
ROOT_CA_FILE
}
"
}
CLUSTER_SIGNING_KEY_FILE=
${
CLUSTER_SIGNING_KEY_FILE
:-
"
${
ROOT_CA_KEY
}
"
}
# name of the cgroup driver, i.e. cgroupfs or systemd
if [[
${
CONTAINER_RUNTIME
}
==
"docker"
]]; then
...
...
@@ -545,8 +547,8 @@ function start_controller_manager {
--v
=
${
LOG_LEVEL
}
\
--service-account-private-key-file
=
"
${
SERVICE_ACCOUNT_KEY
}
"
\
--root-ca-file
=
"
${
ROOT_CA_FILE
}
"
\
--cluster-signing-cert-file
=
"
${
ROOT_CA
_FILE
}
"
\
--cluster-signing-key-file
=
"
${
ROOT_CA_KEY
}
"
\
--cluster-signing-cert-file
=
"
${
CLUSTER_SIGNING_CERT
_FILE
}
"
\
--cluster-signing-key-file
=
"
${
CLUSTER_SIGNING_KEY_FILE
}
"
\
--enable-hostpath-provisioner
=
"
${
ENABLE_HOSTPATH_PROVISIONER
}
"
\
${
node_cidr_args
}
\
--pvclaimbinder-sync-period
=
"
${
CLAIM_BINDER_SYNC_PERIOD
}
"
\
...
...
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