kalisio / kargo

A K8S based solution to build and operate Geospatial Platforms
https://kalisio.github.io/kargo/
MIT License
23 stars 6 forks source link

Allow the API s3 endpoint to be used with multiple storage providers #262

Closed cnouguier closed 3 years ago

cnouguier commented 3 years ago

Added a specific plugin for this purpose : storage.js

It must be delcared in the `system.config.yml

  storage:
    providers: 
      aws:
        accessKeyId: ${AWS_S3_ACCESS_KEY}
        secretAccessKey: ${AWS_S3_SECRET_ACCESS_KEY}
      scw:
        endpoint: ${SCW_S3_ENDPOINT}
        accessKeyId: ${SCW_S3_ACCESS_KEY}
        secretAccessKey: ${SCW_S3_SECRET_ACCESS_KEY}
    package: ./plugins/storage