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:
DQ 2020-06-30 15:16:18 +08:00
parent 090556ef94
commit d0ddd61ad9

View File

@ -25,10 +25,11 @@ DEPTH=1
# Backend storage driver: e.g. "local", "amazon", "google" etc.
STORAGE={{storage_driver}}
{% if storage_driver == "amazon" %}
AWS_SDK_LOAD_CONFIG=1
{% endif %}
# Storage driver settings
{{all_storage_driver_configs}}
## Settings with default values. Just put here for future changes
DEBUG=false
LOG_JSON=true