gce: remove compute-rw, see what breaks

This commit is contained in:
Mike Danese 2017-09-29 12:00:02 -07:00
parent e51752239c
commit 4d2733d801
3 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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.

View File

@ -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"