Merge pull request #2716 from zulily/fix-gce-provision-with-gcp-logging

Fix GCE scopes when using GCP Logging
This commit is contained in:
Brendan Burns
2014-12-02 12:40:56 -08:00

View File

@@ -297,7 +297,7 @@ function kube-up {
echo "+++ Logging using Fluentd to ${LOGGING_DESTINATION:-unknown}"
# For logging to GCP we need to enable some minion scopes.
if [[ "${LOGGING_DESTINATION-}" == "gcp" ]]; then
MINION_SCOPES="${MINION_SCOPES}, https://www.googleapis.com/auth/logging.write"
MINION_SCOPES=(${MINION_SCOPES[@]} "https://www.googleapis.com/auth/logging.write")
fi
fi