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 committed Jun 30, 2020
1 parent 090556e commit d0ddd61
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 d0ddd61

Please sign in to comment.