From 905438d5aa43c35b7f1ca997c3dd6ed08ee1c79c Mon Sep 17 00:00:00 2001 From: yliao Date: Fri, 12 Sep 2025 18:29:44 +0000 Subject: [PATCH] fixed the CONFIG_PATH --- scripts/insert_proxy_config.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/insert_proxy_config.sh b/scripts/insert_proxy_config.sh index a4f0b70956..7a579fa573 100755 --- a/scripts/insert_proxy_config.sh +++ b/scripts/insert_proxy_config.sh @@ -1,6 +1,11 @@ #!/usr/bin/env bash # insert_proxy_config.sh - run this after openapi-generator release.sh -CONFIG_PATH="../python_kubernetes/kubernetes/client" +SCRIPT_ROOT=$(dirname "${BASH_SOURCE}") +pushd "${SCRIPT_ROOT}" > /dev/null +SCRIPT_ROOT=`pwd` +popd > /dev/null +CLIENT_ROOT="${SCRIPT_ROOT}/../kubernetes" +CONFIG_PATH="$CLIENT_ROOT/client" # Compute the full file path CONFIG_FILE="$CONFIG_PATH/configuration.py"