GCP mount 2 secrets in one directory

173 views Asked by At

I'm trying to mount 2 secrets in one directory on Cloud run. GCP is showing an error as the mounting path is the same even though the filenames are different, I think maybe there's a way around thisenter image description here

1

There are 1 answers

0
Ray John Navarro On

Well according to the documentation, it's part of the product limitation.

Cloud Run does not allow you to mount multiple secrets at the same path because two volume mounts cannot be mounted at the same location.

You may want to check the documentation for more details.[1]

[1]

https://cloud.google.com/run/docs/configuring/services/secrets#disallowed_paths_and_limitations