File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1540,7 +1540,7 @@ function start-kube-apiserver {
1540
1540
params+=" --etcd-keyfile=${ETCD_APISERVER_CLIENT_KEY_PATH} "
1541
1541
fi
1542
1542
params+=" --secure-port=443"
1543
- if [[ " ${ENABLE_APISERVER_INSECURE_PORT:- true } " != " true" ]]; then
1543
+ if [[ " ${ENABLE_APISERVER_INSECURE_PORT:- false } " != " true" ]]; then
1544
1544
# Default is :8080
1545
1545
params+=" --insecure-port=0"
1546
1546
fi
@@ -2886,7 +2886,7 @@ function main() {
2886
2886
KUBE_CONTROLLER_MANAGER_TOKEN=" $( secure_random 32) "
2887
2887
KUBE_SCHEDULER_TOKEN=" $( secure_random 32) "
2888
2888
KUBE_CLUSTER_AUTOSCALER_TOKEN=" $( secure_random 32) "
2889
- if [[ " ${ENABLE_APISERVER_INSECURE_PORT:- true } " != " true" ]]; then
2889
+ if [[ " ${ENABLE_APISERVER_INSECURE_PORT:- false } " != " true" ]]; then
2890
2890
KUBE_BOOTSTRAP_TOKEN=" $( secure_random 32) "
2891
2891
fi
2892
2892
if [[ " ${ENABLE_L7_LOADBALANCING:- } " == " glbc" ]]; then
You can’t perform that action at this time.
0 commit comments