bucketrepo icon indicating copy to clipboard operation
bucketrepo copied to clipboard

environment variables in config.yaml

Open Raboo opened this issue 2 years ago • 0 comments

I have BUCKET_HOST, BUCKET_NAME, BUCKET_PORT and BUCKET_REGION environment variables set. Would it be possible to use then in the config.yaml in .storage.bucket_url. For example like this "s3://${BUCKET_NAME}?endpoint=${BUCKET_HOST}:${BUCKET_PORT}&region=${BUCKET_REGION}&s3ForcePathStyle=true"

These variables are created automatically by my "ObjectBucketClaim" and bucket name is a unique automatic generated id, so it's hard to know before you deploy it.

Raboo avatar Oct 08 '21 08:10 Raboo