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 198632b581
commit b06e19a637

View File

@ -93,6 +93,11 @@ services:
- type: bind - type: bind
source: ./common/config/shared/trust-certificates source: ./common/config/shared/trust-certificates
target: /harbor_cust_cert target: /harbor_cust_cert
{% if gcs_keyfile %}
- type: bind
source: {{gcs_keyfile}}
target: /etc/registry/gcs.key
{% endif %}
{%if internal_tls.enabled %} {%if internal_tls.enabled %}
- type: bind - type: bind
source: {{internal_tls.registryctl_crt_path}} source: {{internal_tls.registryctl_crt_path}}