Skip to content

Commit

Permalink
Fix Amazon S3 storage not work
Browse files Browse the repository at this point in the history
The Chartmuseum S3 client need set an Env variable
Ref: helm/chartmuseum#280

Signed-off-by: DQ <dengq@vmware.com>
  • Loading branch information
ninjadq authored and tedgxt committed Aug 11, 2020
1 parent 9771559 commit c871352
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions make/photon/prepare/templates/chartserver/env.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c871352

Please sign in to comment.