File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -92,6 +92,11 @@ function configure_registries {
9292 elif [[ " ${INSTALL_DRYCC_MIRROR} " == " cn" ]]; then
9393 if [[ " $1 " == " runtime" ]] ; then
9494 cat << EOF > "/etc/rancher/k3s/registries.yaml"
95+ configs:
96+ "registry.drycc.cc":
97+ auth:
98+ username: anonymous
99+ password: anonymous
95100mirrors:
96101 "docker.io":
97102 endpoint:
@@ -100,6 +105,11 @@ mirrors:
100105EOF
101106 else
102107 cat << EOF > "/etc/rancher/k3s/registries.yaml"
108+ configs:
109+ "registry.drycc.cc":
110+ auth:
111+ username: anonymous
112+ password: anonymous
103113mirrors:
104114 "docker.io":
105115 endpoint:
Original file line number Diff line number Diff line change @@ -279,8 +279,8 @@ registry:
279279 password : " "
280280 # The redirect parameters is configured only when using an on-cluster Registry instance
281281 # The subsection provides configuration for managing redirects from content backends.
282- # For backends that support it, redirecting is enabled by default.
283- redirect : " true "
282+ # For backends that support it, redirecting is disabled by default.
283+ redirect : " false "
284284
285285passport :
286286 # The following parameters are configured only when using an on-cluster passport
You can’t perform that action at this time.
0 commit comments