We have an applications that requires secrets ONLY during the runtime or creation of the pod. Once the Pod is up and started the secrets are no longer needed.
I've tried to load secrets from environment variables then unset them via a script however if you exec into the container the secret is available on each new session.
I'm currently looking into mounting files as secrets and would like to know if it is possible to somehow pass a secret to a container ONLY during runtime and remove it once the pod is up and running? Maybe I can unmount the secret once the pod is running?
I should also point out that the pod is running an application ontop of a stripped down version of a centos 8 image.