Commit 346dbc6d authored by Brendan Burns's avatar Brendan Burns

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

Fix GCE scopes when using GCP Logging
parents b30633b8 d229c5ba
...@@ -297,7 +297,7 @@ function kube-up { ...@@ -297,7 +297,7 @@ function kube-up {
echo "+++ Logging using Fluentd to ${LOGGING_DESTINATION:-unknown}" echo "+++ Logging using Fluentd to ${LOGGING_DESTINATION:-unknown}"
# For logging to GCP we need to enable some minion scopes. # For logging to GCP we need to enable some minion scopes.
if [[ "${LOGGING_DESTINATION-}" == "gcp" ]]; then 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
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment