Repository navigation
docs: cookbook: mount directories as secrets after v.0.8.0 - #5520
Conversation
There was a problem hiding this comment.
I think we can simplify this a lot.
My ~/.gnupg directory is less than 1MiB. To keep the cookbook simple for mounting a secret directory I'd just mount the whole ~/.gnupg directory. You just resolve all the paths from the host first in a map of names to full paths, and then loop over these for a simpler with util.
Then it'll be easy enough for the user to add include/exclude globs or provide an explicit map of file names instead to limit which files are added.
EDIT: My suggestion here:
|
@grouville @helderco what needs to happen to get this ready for review? I am keen to get this merged today. |
I'll update the docs accordingly in a few hours 🙏 |
|
Thank you @grouville! I am super keen on getting this one merged within the next 2h. We are really close to having everything in place for tomorrow's release 💪 |
|
@gerhard: As seen with @helderco, this will have to be merged after the
It goes in-pair with #5518 and #5515, which will be merged right after the release. However, I'm currently updating it to make it reviewable and ready to be shipped tomorrow |
|
The go and node.js snippets haven't been updated. I suggested improvements using Python, but it needs to be replicated to the others. |
|
Since we are a few hours from release, can we get this one ready to merge & then go for merge? |
|
I'm finishing another cookbook issue and I'll help here if needed. |
291bf8c to
ad0d8fc
Compare
@helderco, your help on the |
d6b6df7 to
6545b0c
Compare
a86b62a to
c312798
Compare
|
It's just the snippets, no cookbook.md |
c312798 to
cac8d8c
Compare
Signed-off-by: Helder Correia <[email protected]>
Signed-off-by: Helder Correia <[email protected]>
Follow Helder's Python code as example config for the cookbook Signed-off-by: grouville <[email protected]>
cac8d8c to
09fd8d9
Compare
Closes #4896
Re-opening following the revert. Most of the context is on the initial PR
Small cookbook example / wrapper with the
.with()method showing how to mount directories securely.cc @helderco