Skip to content

Commit

Permalink
Migrate CCM to use secure-port
Browse files Browse the repository at this point in the history
  • Loading branch information
jprzychodzen committed Jul 8, 2022
1 parent 01d284c commit fc33765
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Binary file modified cluster/bin/kubectl
Binary file not shown.
2 changes: 1 addition & 1 deletion cluster/gce/gci/configure-helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2268,7 +2268,7 @@ function start-cloud-controller-manager {
prepare-log-file /var/log/cloud-controller-manager.log "${CLOUD_CONTROLLER_MANAGER_RUNASUSER:-0}"
# Calculate variables and assemble the command line.
local params="${CONTROLLER_MANAGER_TEST_LOG_LEVEL:-"--v=4"} ${CONTROLLER_MANAGER_TEST_ARGS:-} ${CLOUD_CONFIG_OPT}"
params+=" --port=10253"
params+=" --secure-port=10258"
params+=" --use-service-account-credentials"
params+=" --cloud-provider=gce"
params+=" --kubeconfig=/etc/srv/kubernetes/cloud-controller-manager/kubeconfig"
Expand Down
3 changes: 2 additions & 1 deletion deploy/cloud-controller-manager.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
"livenessProbe": {
"httpGet": {
"host": "127.0.0.1",
"port": 10253,
"port": 10258,
"scheme": "HTTPS",
"path": "/healthz"
},
"initialDelaySeconds": 15,
Expand Down

0 comments on commit fc33765

Please sign in to comment.