uswitch / vault-creds

Sidecar container for requesting dynamic Vault database secrets
Apache License 2.0
84 stars 14 forks source link

Template output: Create target directory if necessary #18

Closed aaron-trout closed 5 years ago

aaron-trout commented 5 years ago

Added functionality to create the target directory (and parents) for the templated output if it does not exist.

Joseph-Irving commented 5 years ago

Hey thanks for this, left a small comment

aaron-trout commented 5 years ago

No worries @Joseph-Irving! Sorry to spam you guys with PR's 😆

I also had a look at this one https://github.com/UKHomeOffice/vault-sidekick but doesn't look like it has templating.