HTTP_PROXY=$(cat /opt/config/http_proxy.txt)
HTTPS_PROXY=$(cat /opt/config/https_proxy.txt)
-if [ $HTTP_PROXY != " " ]
+if [ $HTTP_PROXY != "no_proxy" ]
then
export http_proxy=$HTTP_PROXY
export https_proxy=$HTTPS_PROXY
HTTP_PROXY=$(cat /opt/config/http_proxy.txt)
HTTPS_PROXY=$(cat /opt/config/https_proxy.txt)
-if [ $HTTP_PROXY != " " ]
+if [ $HTTP_PROXY != "no_proxy" ]
then
export http_proxy=$HTTP_PROXY
export https_proxy=$HTTPS_PROXY
HTTP_PROXY=$(cat /opt/config/http_proxy.txt)
HTTPS_PROXY=$(cat /opt/config/https_proxy.txt)
-if [ $HTTP_PROXY != " " ]
+if [ $HTTP_PROXY != "no_proxy" ]
then
export http_proxy=$HTTP_PROXY
export https_proxy=$HTTPS_PROXY
HTTP_PROXY=$(cat /opt/config/http_proxy.txt)
HTTPS_PROXY=$(cat /opt/config/https_proxy.txt)
-if [ $HTTP_PROXY != " " ]
+if [ $HTTP_PROXY != "no_proxy" ]
then
export http_proxy=$HTTP_PROXY
export https_proxy=$HTTPS_PROXY
HTTP_PROXY=$(cat /opt/config/http_proxy.txt)
HTTPS_PROXY=$(cat /opt/config/https_proxy.txt)
-if [ $HTTP_PROXY != " " ]
+if [ $HTTP_PROXY != "no_proxy" ]
then
export http_proxy=$HTTP_PROXY
export https_proxy=$HTTPS_PROXY
HTTP_PROXY=$(cat /opt/config/http_proxy.txt)
HTTPS_PROXY=$(cat /opt/config/https_proxy.txt)
-if [ $HTTP_PROXY != " " ]
+if [ $HTTP_PROXY != "no_proxy" ]
then
export http_proxy=$HTTP_PROXY
export https_proxy=$HTTPS_PROXY
HTTP_PROXY=$(cat /opt/config/http_proxy.txt)
HTTPS_PROXY=$(cat /opt/config/https_proxy.txt)
-if [ $HTTP_PROXY != " " ]
+if [ $HTTP_PROXY != "no_proxy" ]
then
export http_proxy=$HTTP_PROXY
export https_proxy=$HTTPS_PROXY
HTTP_PROXY=$(cat /opt/config/http_proxy.txt)
HTTPS_PROXY=$(cat /opt/config/https_proxy.txt)
-if [ $HTTP_PROXY != " " ]
+if [ $HTTP_PROXY != "no_proxy" ]
then
export http_proxy=$HTTP_PROXY
export https_proxy=$HTTPS_PROXY
HTTP_PROXY=$(cat /opt/config/http_proxy.txt)
HTTPS_PROXY=$(cat /opt/config/https_proxy.txt)
-if [ $HTTP_PROXY != " " ]
+if [ $HTTP_PROXY != "no_proxy" ]
then
export http_proxy=$HTTP_PROXY
export https_proxy=$HTTPS_PROXY
HTTP_PROXY=$(cat /opt/config/http_proxy.txt)
HTTPS_PROXY=$(cat /opt/config/https_proxy.txt)
-if [ $HTTP_PROXY != " " ]
+if [ $HTTP_PROXY != "no_proxy" ]
then
export http_proxy=$HTTP_PROXY
export https_proxy=$HTTPS_PROXY
HTTP_PROXY=$(cat /opt/config/http_proxy.txt)
HTTPS_PROXY=$(cat /opt/config/https_proxy.txt)
-if [ $HTTP_PROXY != " " ]
+if [ $HTTP_PROXY != "no_proxy" ]
then
export http_proxy=$HTTP_PROXY
export https_proxy=$HTTPS_PROXY
HTTP_PROXY=$(cat /opt/config/http_proxy.txt)
HTTPS_PROXY=$(cat /opt/config/https_proxy.txt)
-if [ $HTTP_PROXY != " " ]
+if [ $HTTP_PROXY != "no_proxy" ]
then
export http_proxy=$HTTP_PROXY
export https_proxy=$HTTPS_PROXY
HTTP_PROXY=$(cat /opt/config/http_proxy.txt)
HTTPS_PROXY=$(cat /opt/config/https_proxy.txt)
-if [ $HTTP_PROXY != " " ]
+if [ $HTTP_PROXY != "no_proxy" ]
then
export http_proxy=$HTTP_PROXY
export https_proxy=$HTTPS_PROXY
HTTP_PROXY=$(cat /opt/config/http_proxy.txt)
HTTPS_PROXY=$(cat /opt/config/https_proxy.txt)
-if [ $HTTP_PROXY != " " ]
+if [ $HTTP_PROXY != "no_proxy" ]
then
export http_proxy=$HTTP_PROXY
export https_proxy=$HTTPS_PROXY
HTTP_PROXY=$(cat /opt/config/http_proxy.txt)
HTTPS_PROXY=$(cat /opt/config/https_proxy.txt)
-if [ $HTTP_PROXY != " " ]
+if [ $HTTP_PROXY != "no_proxy" ]
then
export http_proxy=$HTTP_PROXY
export https_proxy=$HTTPS_PROXY
HTTP_PROXY=$(cat /opt/config/http_proxy.txt)
HTTPS_PROXY=$(cat /opt/config/https_proxy.txt)
-if [ $HTTP_PROXY != " " ]
+if [ $HTTP_PROXY != "no_proxy" ]
then
export http_proxy=$HTTP_PROXY
export https_proxy=$HTTPS_PROXY
HTTP_PROXY=$(cat /opt/config/http_proxy.txt)
HTTPS_PROXY=$(cat /opt/config/https_proxy.txt)
-if [ $HTTP_PROXY != " " ]
+if [ $HTTP_PROXY != "no_proxy" ]
then
export http_proxy=$HTTP_PROXY
export https_proxy=$HTTPS_PROXY
HTTP_PROXY=$(cat /opt/config/http_proxy.txt)
HTTPS_PROXY=$(cat /opt/config/https_proxy.txt)
-if [ $HTTP_PROXY != " " ]
+if [ $HTTP_PROXY != "no_proxy" ]
then
export http_proxy=$HTTP_PROXY
export https_proxy=$HTTPS_PROXY
HTTP_PROXY=$(cat /opt/config/http_proxy.txt)
HTTPS_PROXY=$(cat /opt/config/https_proxy.txt)
-if [ $HTTP_PROXY != " " ]
+if [ $HTTP_PROXY != "no_proxy" ]
then
export http_proxy=$HTTP_PROXY
export https_proxy=$HTTPS_PROXY
HTTP_PROXY=$(cat /opt/config/http_proxy.txt)
HTTPS_PROXY=$(cat /opt/config/https_proxy.txt)
-if [ $HTTP_PROXY != " " ]
+if [ $HTTP_PROXY != "no_proxy" ]
then
export http_proxy=$HTTP_PROXY
export https_proxy=$HTTPS_PROXY
http_proxy:
type: string
description: http proxy address
+ default: 'no_proxy'
https_proxy:
type: string
description: https proxy address
+ default: 'no_proxy'
######################
# #