X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=test%2Fcommon%2Fprodstub_api_functions.sh;h=8aae95a2b87b206f1c063fd833f7f2796219846a;hb=674793d94f09873d24edd85f9eb2da2582d21673;hp=744e357cf61d4031079a8d0c168f48a5ced88f11;hpb=a69cd90b798f1a25820d742710bcd13dfd1c4c60;p=nonrtric.git diff --git a/test/common/prodstub_api_functions.sh b/test/common/prodstub_api_functions.sh index 744e357c..8aae95a2 100644 --- a/test/common/prodstub_api_functions.sh +++ b/test/common/prodstub_api_functions.sh @@ -270,7 +270,11 @@ __execute_curl_to_prodstub() { proxyflag="" if [ $RUNMODE == "KUBE" ]; then if [ ! -z "$KUBE_PROXY_PATH" ]; then - proxyflag=" --proxy $KUBE_PROXY_PATH" + if [ $KUBE_PROXY_HTTPX == "http" ]; then + proxyflag=" --proxy $KUBE_PROXY_PATH" + else + proxyflag=" --proxy-insecure --proxy $KUBE_PROXY_PATH" + fi fi fi echo " CMD: $3 $proxyflag" >> $HTTPLOG