mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 12:15:20 +01:00
Revoke the change in replicator
Revoke the change made to replicator to reset the insecure flag to true when accessing source registry. The reason is that the replicator will use external URL to access source registry, setting it to false will break replication when Harbor is hosting with self-signed certificate. Signed-off-by: Daniel Jiang <jiangd@vmware.com>
This commit is contained in:
parent
1188bd89b9
commit
b895a2d7cf
@ -98,7 +98,7 @@ func (d *DefaultReplicator) Replicate(replication *Replication) error {
|
||||
"repository": repository,
|
||||
"tags": tags,
|
||||
"src_registry_url": url,
|
||||
"src_registry_insecure": false,
|
||||
"src_registry_insecure": true,
|
||||
// "src_token_service_url":"",
|
||||
"dst_registry_url": target.URL,
|
||||
"dst_registry_insecure": target.Insecure,
|
||||
|
Loading…
Reference in New Issue
Block a user