mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 06:27:05 +00:00
Check to see if FLUENTD_GCP is defined before use
This commit is contained in:
parent
fa4e186e54
commit
ed58d024ca
@ -287,7 +287,7 @@ function kube-up {
|
|||||||
) > "${KUBE_TEMP}/master-start.sh"
|
) > "${KUBE_TEMP}/master-start.sh"
|
||||||
|
|
||||||
# For logging to GCP we need to enable some minion scopes.
|
# For logging to GCP we need to enable some minion scopes.
|
||||||
if [ $FLUENTD_GCP == "true" ]; then
|
if [ -n "$FLUENTD_GCP" ] && [ "$FLUENTD_GCP" = "true" ]; 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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user