I have two questions:
Why can't I mount two cloud secrets in the same directory?
I have attempted to mount two secrets,
FIREBASE_AUTH_SERVICE_ACCOUNT
andPURCHASE_VALIDATION_SERVICE_ACCOUNT
in the directory:flask_app/src/services/firebase/service_accounts/
However I get this error, when attempting to do this:
spec.template.spec.containers[0].volume_mounts[1].mount_path, Duplicate volume mount paths are forbidden
Why is this?How do I access a mounted secret using python?
I'm really not sure how to do this as I couldn't find any documentation on how to actually access the secret itself. This is the only thing I found. I am using python just for context. Would the secret be mounted as a .txt and is that mount path the folder that it is stored in or does it also specify the file name?