mirror of
https://github.com/goharbor/harbor.git
synced 2024-10-31 23:59:32 +01:00
[cherry-pick]Fix APITEST_DB_PROXY_CACHE x509 (#18979)
Fix APITEST_DB_PROXY_CACHE x509 Fix APITEST_DB_PROXY_CACHE x509, Because cicd.harbor.vmwarecna uses a self-signed certificate. Signed-off-by: Yang Jiao <jiaoya@vmware.com>
This commit is contained in:
parent
9269602f30
commit
9a63e801ab
@ -75,7 +75,7 @@ class TestProxyCache(unittest.TestCase):
|
||||
registry = "https://cicd.harbor.vmwarecna.net"
|
||||
index_for_ctr = dict(image = "busybox", tag = "1.32.0")
|
||||
|
||||
registry_id, _ = self.registry.create_registry(registry, name=_random_name(registry_type), registry_type=registry_type, access_key = access_key, access_secret = access_secret, insecure=False, **ADMIN_CLIENT)
|
||||
registry_id, _ = self.registry.create_registry(registry, name=_random_name(registry_type), registry_type=registry_type, access_key = access_key, access_secret = access_secret, insecure=True, **ADMIN_CLIENT)
|
||||
|
||||
print("registry_id:", registry_id)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user