diff --git a/cluster/gce/config-common.sh b/cluster/gce/config-common.sh index 0954fa0dfa1..0b252825d9a 100644 --- a/cluster/gce/config-common.sh +++ b/cluster/gce/config-common.sh @@ -99,7 +99,7 @@ function get-cluster-ip-range { } if [[ "${FEDERATION:-}" == true ]]; then - NODE_SCOPES="${NODE_SCOPES:-compute-rw,monitoring,logging-write,storage-ro,https://www.googleapis.com/auth/ndev.clouddns.readwrite}" + NODE_SCOPES="${NODE_SCOPES:-monitoring,logging-write,storage-ro,https://www.googleapis.com/auth/ndev.clouddns.readwrite}" else - NODE_SCOPES="${NODE_SCOPES:-compute-rw,monitoring,logging-write,storage-ro}" + NODE_SCOPES="${NODE_SCOPES:-monitoring,logging-write,storage-ro}" fi diff --git a/cluster/gce/config-default.sh b/cluster/gce/config-default.sh index 39973f1d11d..481e190c958 100755 --- a/cluster/gce/config-default.sh +++ b/cluster/gce/config-default.sh @@ -96,9 +96,9 @@ CLUSTER_IP_RANGE="${CLUSTER_IP_RANGE:-$(get-cluster-ip-range)}" MASTER_IP_RANGE="${MASTER_IP_RANGE:-10.246.0.0/24}" if [[ "${FEDERATION:-}" == true ]]; then - NODE_SCOPES="${NODE_SCOPES:-compute-rw,monitoring,logging-write,storage-ro,https://www.googleapis.com/auth/ndev.clouddns.readwrite}" + NODE_SCOPES="${NODE_SCOPES:-monitoring,logging-write,storage-ro,https://www.googleapis.com/auth/ndev.clouddns.readwrite}" else - NODE_SCOPES="${NODE_SCOPES:-compute-rw,monitoring,logging-write,storage-ro}" + NODE_SCOPES="${NODE_SCOPES:-monitoring,logging-write,storage-ro}" fi # Extra docker options for nodes. diff --git a/test/kubemark/gce/util.sh b/test/kubemark/gce/util.sh index e86b6c870ac..7eb21dc4aa6 100644 --- a/test/kubemark/gce/util.sh +++ b/test/kubemark/gce/util.sh @@ -62,7 +62,7 @@ function create-master-instance-with-resources { --image "${MASTER_IMAGE}" \ --tags "${MASTER_TAG}" \ --subnet "${NETWORK}" \ - --scopes "storage-ro,compute-rw,logging-write" \ + --scopes "storage-ro,logging-write" \ --boot-disk-size "${MASTER_ROOT_DISK_SIZE}" \ --disk "name=${MASTER_NAME}-pd,device-name=master-pd,mode=rw,boot=no,auto-delete=no"