[FEATURE REQUEST] Dynamic saltenvs for s3fs mounts? (__env__) #67574
mdschmitt
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
As it stands, there are only 2 s3fs mount options:
However, option 2 mandates that the bucket contents comply with a
s3://bucket/<saltenv>/xxxfile structure.Describe the solution you'd like
It'd be quite useful to simply specify
__env__in option 1 and have the best of both worlds (any bucket file structure, applied to any named saltenv). Like so:Describe alternatives you've considered
N/A
Additional context
Example: an S3 bucket containing build artifacts from a CI system. Binaries/jars/rpms/debs aren't necessarily saltenv-specific, so creating dedicated
s3://<environment>/buildsdirectories doesn't make much sense (and the CI doesn't/shouldn't need to know anything about saltenvs)....but if I just put the bins at the root of the bucket, I need to restart the saltmaster with new
s3.bucketssyntax every time I want to use a different saltenv (which, for me, is often just a temporary WIP git branch)..Beta Was this translation helpful? Give feedback.
All reactions