Merge pull request #11804 from ninjadq/add_gcs_key_to_regctl_1_10

Fix: GCS storage gc issue
This commit is contained in:
Qian Deng 2020-04-29 16:16:18 +08:00 committed by GitHub
commit 23fdb7fa81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,6 +81,11 @@ services:
- type: bind - type: bind
source: ./common/config/registryctl/config.yml source: ./common/config/registryctl/config.yml
target: /etc/registryctl/config.yml target: /etc/registryctl/config.yml
{% if gcs_keyfile %}
- type: bind
source: {{gcs_keyfile}}
target: /etc/registry/gcs.key
{% endif %}
{%if registry_custom_ca_bundle_path %} {%if registry_custom_ca_bundle_path %}
- type: bind - type: bind
source: {{registry_custom_ca_bundle_path}} source: {{registry_custom_ca_bundle_path}}