Skip to content

Commit aa17c45

Browse files
committed
chore(workflow): ranem registry hostname to host
1 parent 04147ec commit aa17c45

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

_scripts/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ init_arch() {
1818
}
1919

2020
init_registry() {
21-
if [[ -z $DRYCC_REGISTRY]]
21+
if [[ -z "$DRYCC_REGISTRY" ]] ; then
2222
echo -e "\\033[32m---> Get the fastest drycc registry...\\033[0m"
2323
registrys=(quay.io ccr.ccs.tencentyun.com sgccr.ccs.tencentyun.com jpccr.ccs.tencentyun.com uswccr.ccs.tencentyun.com useccr.ccs.tencentyun.com deccr.ccs.tencentyun.com saoccr.ccs.tencentyun.com)
2424
delay=65535

charts/workflow/values.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ database:
181181
volumeName: ""
182182

183183
redis:
184-
# The following parameters are configured only when using an off-cluster Redis instance
184+
# The addrs parameters are configured only when using an off-cluster Redis instance
185185
addrs: "" # A list of clusters: "127.0.0.1:7001/1,127.0.0.2:7002/1"
186186
password: "redis password" # "" == no password
187187
# The following parameters are configured only when using an on-cluster Redis instance
@@ -270,11 +270,17 @@ monitor:
270270
volumeName: ""
271271

272272
registry:
273-
# The following parameters are configured only when using an off-cluster Registry instance
274-
hostname: ""
273+
# The host parameters is configured only when using an off-cluster Registry instance
274+
host: ""
275+
# The following organization parameters are valid only in cluster-off
276+
# In the case of cluster-on, the value is app name, which is dynamically assigned by builder.
275277
organization: ""
276278
username: ""
277279
password: ""
280+
# The redirect parameters is configured only when using an on-cluster Registry instance
281+
# The subsection provides configuration for managing redirects from content backends.
282+
# For backends that support it, redirecting is enabled by default.
283+
redirect: "true"
278284

279285
passport:
280286
# The following parameters are configured only when using an on-cluster passport

0 commit comments

Comments
 (0)