News for hackers. Stuff that matters.
Re:The Twelve-Factor App (2011) by CameronNemo on Friday April 29, 2022 @03:28AM (#31202389)
How do you actually unmount the volume with kubernetes once the secrets are read and the process is ready? I've never heard of a feature like that.
Re:The Twelve-Factor App (2011) by thinkmassive on Friday April 29, 2022 @08:22AM (#31204220)
From my comment farther below:

> If your app can’t interface directly w/k8s, but it can read secrets from a file, you can use a small init program to fetch the k8s secret and write it to a named pipe. This is advantageous compared to mounting as a volume, because the pipe disappears after both ends close their connection to it.

Re:The Twelve-Factor App (2011) by aliswe on Friday April 29, 2022 @05:02AM (#31203007)
you dont ... you remove the mapping and restart the pod.