Fix: GCS storage gc issue

Mount gcs key to registryctl

Signed-off-by: DQ <dengq@vmware.com>
This commit is contained in:
DQ 2020-04-29 15:04:16 +08:00
parent 1f66d016be
commit ac04806336

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}}