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
cd3c8770
Commit
cd3c8770
authored
Sep 11, 2017
by
Eric Chiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Add cluster up configuration for certificate signing duration."
This reverts commit
bd0c16cc
.
parent
a2f168b4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
16 deletions
+1
-16
common.sh
cluster/common.sh
+0
-5
config-default.sh
cluster/gce/config-default.sh
+0
-3
config-test.sh
cluster/gce/config-test.sh
+1
-4
configure-helper.sh
cluster/gce/gci/configure-helper.sh
+0
-4
No files found.
cluster/common.sh
View file @
cd3c8770
...
...
@@ -867,11 +867,6 @@ EOF
ETCD_QUORUM_READ:
$(
yaml-quote
${
ETCD_QUORUM_READ
})
EOF
fi
if
[
-n
"
${
CLUSTER_SIGNING_DURATION
:-}
"
]
;
then
cat
>>
$file
<<
EOF
CLUSTER_SIGNING_DURATION:
$(
yaml-quote
${
CLUSTER_SIGNING_DURATION
})
EOF
fi
else
# Node-only env vars.
...
...
cluster/gce/config-default.sh
View file @
cd3c8770
...
...
@@ -314,9 +314,6 @@ ENABLE_PROMETHEUS_TO_SD="${ENABLE_PROMETHEUS_TO_SD:-false}"
# Optional: Run kube-proxy as a DaemonSet if set to true, run as static pods otherwise.
KUBE_PROXY_DAEMONSET
=
"
${
KUBE_PROXY_DAEMONSET
:-
false
}
"
# true, false
# Optional: duration of cluster signed certificates.
CLUSTER_SIGNING_DURATION
=
"
${
CLUSTER_SIGNING_DURATION
:-}
"
# Optional: enable pod priority
ENABLE_POD_PRIORITY
=
"
${
ENABLE_POD_PRIORITY
:-}
"
if
[[
"
${
ENABLE_POD_PRIORITY
}
"
==
"true"
]]
;
then
...
...
cluster/gce/config-test.sh
View file @
cd3c8770
...
...
@@ -194,7 +194,7 @@ KUBEPROXY_TEST_ARGS="${KUBEPROXY_TEST_ARGS:-} ${TEST_CLUSTER_API_CONTENT_TYPE}"
# TODO(piosz): remove this in 1.8
NODE_LABELS
=
"
${
KUBE_NODE_LABELS
:-
beta
.kubernetes.io/fluentd-ds-ready=true
}
"
# To avoid running Calico on a node that is not configured appropriately,
# To avoid running Calico on a node that is not configured appropriately,
# label each Node so that the DaemonSet can run the Pods only on ready Nodes.
if
[[
${
NETWORK_POLICY_PROVIDER
:-}
==
"calico"
]]
;
then
NODE_LABELS
=
"
$NODE_LABELS
,projectcalico.org/ds-ready=true"
...
...
@@ -372,9 +372,6 @@ ENABLE_PROMETHEUS_TO_SD="${ENABLE_PROMETHEUS_TO_SD:-true}"
# Optional: Run kube-proxy as a DaemonSet if set to true, run as static pods otherwise.
KUBE_PROXY_DAEMONSET
=
"
${
KUBE_PROXY_DAEMONSET
:-
false
}
"
# true, false
# Optional: duration of cluster signed certificates.
CLUSTER_SIGNING_DURATION
=
"
${
CLUSTER_SIGNING_DURATION
:-
30m
}
"
# Optional: enable pod priority
ENABLE_POD_PRIORITY
=
"
${
ENABLE_POD_PRIORITY
:-}
"
if
[[
"
${
ENABLE_POD_PRIORITY
}
"
==
"true"
]]
;
then
...
...
cluster/gce/gci/configure-helper.sh
View file @
cd3c8770
...
...
@@ -1535,10 +1535,6 @@ function start-kube-controller-manager {
if
[[
-n
"
${
VOLUME_PLUGIN_DIR
:-}
"
]]
;
then
params+
=
" --flex-volume-plugin-dir=
${
VOLUME_PLUGIN_DIR
}
"
fi
if
[[
-n
"
${
CLUSTER_SIGNING_DURATION
:-}
"
]]
;
then
params+
=
" --experimental-cluster-signing-duration=
$CLUSTER_SIGNING_DURATION
"
fi
local
-r
kube_rc_docker_tag
=
$(
cat
/home/kubernetes/kube-docker-files/kube-controller-manager.docker_tag
)
local
container_env
=
""
if
[[
-n
"
${
ENABLE_CACHE_MUTATION_DETECTOR
:-}
"
]]
;
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