diff options
author | Hirotaka Wakabayashi <hiwkby@yahoo.com> | 2022-07-01 13:42:51 +0900 |
---|---|---|
committer | Hirotaka Wakabayashi <hiwkby@yahoo.com> | 2022-07-02 17:26:55 +0900 |
commit | 893c4b7aad773d08ac578bfd403df7fe28bbe4a5 (patch) | |
tree | a7779c1e2af3945718f5964b30f3b278f14f78cd /trove/common/cfg.py | |
parent | b36d0b23a2ec66f50ddd5b0e8fdcdd888d19994a (diff) | |
download | trove-893c4b7aad773d08ac578bfd403df7fe28bbe4a5.tar.gz |
Adds a configuration to use a local docker registry
This PR adds an configuration to use a local docker registry for
development and test purpose. Using this option in development,
* Developers can test images in local docker registry
* Developers don't mind DockerHub's pull ratelimit
* Developers can save bandwidth
* Developers can test database quickly
Story: 2010125
Task: 44793
Change-Id: I762702654bc4430b8432dd96bf869408b2947ff8
Diffstat (limited to 'trove/common/cfg.py')
-rw-r--r-- | trove/common/cfg.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/trove/common/cfg.py b/trove/common/cfg.py index 6270d96d..58dd3af6 100644 --- a/trove/common/cfg.py +++ b/trove/common/cfg.py @@ -449,6 +449,8 @@ common_opts = [ 'the datastores supported by Trove.'), cfg.StrOpt('docker_bridge_network_ip', default=None, help='Docker bridge network IP.'), + cfg.StrOpt('docker_insecure_registries', default=[], + help='Docker insecure registries for image development.'), cfg.StrOpt('template_path', default='/etc/trove/templates/', help='Path which leads to datastore templates.'), cfg.BoolOpt('sql_query_logging', default=False, |