Skip to content

Commit de4d771

Browse files
authored
Merge pull request kubernetes#97934 from mattcary/loopback-upstream
Disallow local loopback for volume hosts
2 parents 5310e4f + 9a7dcd3 commit de4d771

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cluster/gce/gci/configure-helper.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1999,6 +1999,7 @@ function start-kube-controller-manager {
19991999
params+=("--kubeconfig=${config_path}" "--authentication-kubeconfig=${config_path}" "--authorization-kubeconfig=${config_path}")
20002000
params+=("--root-ca-file=${CA_CERT_BUNDLE_PATH}")
20012001
params+=("--service-account-private-key-file=${SERVICEACCOUNT_KEY_PATH}")
2002+
params+=("--volume-host-allow-local-loopback=false")
20022003
if [[ -n "${ENABLE_GARBAGE_COLLECTOR:-}" ]]; then
20032004
params+=("--enable-garbage-collector=${ENABLE_GARBAGE_COLLECTOR}")
20042005
fi

0 commit comments

Comments
 (0)