From 92e967ecaaa635461a4c24060216c89fbb52b76b Mon Sep 17 00:00:00 2001 From: Ilya Kogan Date: Tue, 4 Nov 2025 18:35:56 +0000 Subject: [PATCH] Added a little adp-connect debugging. --- adp-connect.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/adp-connect.sh b/adp-connect.sh index 15a977b..8e93ded 100755 --- a/adp-connect.sh +++ b/adp-connect.sh @@ -804,6 +804,7 @@ if [[ ! "${ONLY_DOWNLOAD}" = "true" ]]; then for CLUSTER in $(rancher cluster list | grep -v CURRENT | sed 's/^*//g' | awk '{ print $1 }'); do if [[ -z "${SKIP_KUBECONFIG}" ]]; then TEMP_KUBE_CONFIG=$(echo "${SERVER}-${CLUSTER}" | base64) + debug "Fetching kubeconfig for cluster ${CLUSTER} on server ${SERVER}..." gum spin --show-error --title="Fetching kubeconfig for cluster ${CLUSTER}..." -- rancher cluster kf "${CLUSTER}" > "${TEMP_DIR}/${TEMP_KUBE_CONFIG}.yaml" KUBE_CONFIGS+=("${TEMP_DIR}/${TEMP_KUBE_CONFIG}.yaml") fi