From ad0c0eba3656c20a61d83d7152b492f8d9d4295c Mon Sep 17 00:00:00 2001 From: Daniel Jiang Date: Thu, 26 Jul 2018 14:35:19 +0800 Subject: [PATCH] Add registry to default no_proxy hosts for Clair When proxy is set for Clair, there may be issue when Clair pulls image from the registryif the `no_proxy` attribute is not updated. This commit adds `registry` to the default setting. --- make/harbor.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/harbor.cfg b/make/harbor.cfg index 1dbfd826a..c9df33900 100644 --- a/make/harbor.cfg +++ b/make/harbor.cfg @@ -40,7 +40,7 @@ log_rotate_size = 200M #Clair doesn't need to connect to harbor ui container via http proxy. http_proxy = https_proxy = -no_proxy = 127.0.0.1,localhost,ui +no_proxy = 127.0.0.1,localhost,ui,registry #NOTES: The properties between BEGIN INITIAL PROPERTIES and END INITIAL PROPERTIES #only take effect in the first boot, the subsequent changes of these properties