Store startupscript from GKE clusters too

This commit is contained in:
Wojciech Tyczynski 2016-09-01 13:48:50 +02:00
parent 0c911ab701
commit 4fc48cfce3

View File

@ -59,7 +59,7 @@ function save-logs() {
local -r node_name="${1}"
local -r dir="${2}"
local files="${3} ${common_logfiles}"
if [[ "${KUBERNETES_PROVIDER}" == "gce" ]]; then
if [[ "${KUBERNETES_PROVIDER}" == "gce" || "${KUBERNETES_PROVIDER}" == "gke" ]]; then
files="${files} ${gce_logfiles}"
fi
if [[ "${KUBERNETES_PROVIDER}" == "aws" ]]; then