Merge pull request #1656 from my-git9/test2

Add time zone interpretation for local-up-karmada.sh
This commit is contained in:
karmada-bot 2022-05-06 10:48:26 +08:00 committed by GitHub
commit f55e898b75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ KIND_LOG_FILE=${KIND_LOG_FILE:-"/tmp/karmada"}
#step0: prepare
# proxy setting in China mainland
ping -c 3 -i 0.2 -W 3 k8s.gcr.io &>/dev/null || CHINA_MAINLAND=yes
if [[ -n ${CHINA_MAINLAND:-} ]]; then
export GOPROXY=https://goproxy.cn,direct # set domestic go proxy