mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-03 06:28:06 +01:00
Fix Amazon S3 storage not work
The Chartmuseum S3 client need set an Env variable Ref: https://github.com/helm/chartmuseum/issues/280 Signed-off-by: DQ <dengq@vmware.com>
This commit is contained in:
parent
090556ef94
commit
d0ddd61ad9
@ -25,10 +25,11 @@ DEPTH=1
|
|||||||
|
|
||||||
# Backend storage driver: e.g. "local", "amazon", "google" etc.
|
# Backend storage driver: e.g. "local", "amazon", "google" etc.
|
||||||
STORAGE={{storage_driver}}
|
STORAGE={{storage_driver}}
|
||||||
|
{% if storage_driver == "amazon" %}
|
||||||
|
AWS_SDK_LOAD_CONFIG=1
|
||||||
|
{% endif %}
|
||||||
# Storage driver settings
|
# Storage driver settings
|
||||||
{{all_storage_driver_configs}}
|
{{all_storage_driver_configs}}
|
||||||
|
|
||||||
## Settings with default values. Just put here for future changes
|
## Settings with default values. Just put here for future changes
|
||||||
DEBUG=false
|
DEBUG=false
|
||||||
LOG_JSON=true
|
LOG_JSON=true
|
||||||
|
Loading…
Reference in New Issue
Block a user