Skip to content

Commit

Permalink
Disallow local loopback for volume hosts
Browse files Browse the repository at this point in the history
Change-Id: Ic356c3f859057153cfad97327f1938792a1a512c
  • Loading branch information
mattcary committed Jan 27, 2021
1 parent 4fc184f commit 9a7dcd3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cluster/gce/gci/configure-helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1999,6 +1999,7 @@ function start-kube-controller-manager {
params+=("--kubeconfig=${config_path}" "--authentication-kubeconfig=${config_path}" "--authorization-kubeconfig=${config_path}")
params+=("--root-ca-file=${CA_CERT_BUNDLE_PATH}")
params+=("--service-account-private-key-file=${SERVICEACCOUNT_KEY_PATH}")
params+=("--volume-host-allow-local-loopback=false")
if [[ -n "${ENABLE_GARBAGE_COLLECTOR:-}" ]]; then
params+=("--enable-garbage-collector=${ENABLE_GARBAGE_COLLECTOR}")
fi
Expand Down

0 comments on commit 9a7dcd3

Please sign in to comment.