From 502c88aeab0325537ee6e507e76d4fc3f76e8c27 Mon Sep 17 00:00:00 2001 From: Steven Zou Date: Mon, 27 Aug 2018 16:18:07 +0800 Subject: [PATCH] Fix issues related with chart storage - inject custom CA bundle into chart repo - update prepare script to inject credentials Signed-off-by: Steven Zou --- make/harbor.cfg | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/make/harbor.cfg b/make/harbor.cfg index 91b110245..d048ccf22 100644 --- a/make/harbor.cfg +++ b/make/harbor.cfg @@ -185,14 +185,16 @@ uaa_verify_cert = true uaa_ca_cert = /path/to/ca.pem -### Docker Registry setting ### +### Harbor Storage settings ### +#Please be aware that the following storage settings will be applied to both docker registry and helm chart repository. #registry_storage_provider can be: filesystem, s3, gcs, azure, etc. registry_storage_provider_name = filesystem #registry_storage_provider_config is a comma separated "key: value" pairs, e.g. "key1: value, key2: value2". +#To avoid duplicated configurations, both docker registry and chart repository follow the same storage configuration specifications of docker registry. #Refer to https://docs.docker.com/registry/configuration/#storage for all available configuration. registry_storage_provider_config = #registry_custom_ca_bundle is the path to the custom root ca certificate, which will be injected into the truststore -#of registry's container. This is usually needed when the user hosts a internal storage with self signed certificate. +#of registry's and chart repository's containers. This is usually needed when the user hosts a internal storage with self signed certificate. registry_custom_ca_bundle = #If reload_config=true, all settings which present in harbor.cfg take effect after prepare and restart harbor, it overwrites exsiting settings.