mirror of https://github.com/k3s-io/k3s
Correct s3 url base for region "cn-north-1"
parent
e09dd8df47
commit
3342e4e1d3
|
@ -541,6 +541,8 @@ function upload-server-tars() {
|
||||||
# "US Classic" does not follow the pattern
|
# "US Classic" does not follow the pattern
|
||||||
s3_url_base=https://s3.amazonaws.com
|
s3_url_base=https://s3.amazonaws.com
|
||||||
s3_bucket_location=us-east-1
|
s3_bucket_location=us-east-1
|
||||||
|
elif [[ "${s3_bucket_location}" == "cn-north-1" ]]; then
|
||||||
|
s3_url_base=https://s3.cn-north-1.amazonaws.com.cn
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local -r staging_path="devel"
|
local -r staging_path="devel"
|
||||||
|
|
Loading…
Reference in New Issue