diff --git a/support_bundle/get_support_bundle.sh b/support_bundle/get_support_bundle.sh index a313f005..32dc76f1 100755 --- a/support_bundle/get_support_bundle.sh +++ b/support_bundle/get_support_bundle.sh @@ -19,6 +19,7 @@ API_KEY="" SECURE_API_KEY="" SKIP_LOGS="false" ELASTIC_CURL="" +declare -r BUILD="20240403" print_help() { printf 'Usage: %s [-a|--api-key ] [c|--context ] [-d|--debug] [-l|--labels ] [-n|--namespace ] [-s|--since ] [--skip-logs] [-h|--help]\n' "$0" @@ -126,6 +127,10 @@ main() { local error local RETVAL + if [[ ! -z ${BUILD} ]]; then + echo ${BUILD} >> ${LOG_DIR}/support_bundle_version.txt + fi + if [[ ! -z ${CONTEXT} ]]; then CONTEXT_OPTS="--context=${CONTEXT}" fi