Merge pull request #2694 from satnam6502/scopes

Fix the addition of the logging.write scope to the MINION_SCOPES array
This commit is contained in:
Filipe Brandenburger 2014-12-03 08:37:00 -08:00
commit 4ac1246f0f

View File

@ -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+=('https://www.googleapis.com/auth/logging.write')
fi fi
fi fi