Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,12 @@ After you've written your function, you can simply deploy it from your local
machine using the `gcloud` command-line tool.
[Check out the Cloud Functions quickstart](https://cloud.google.com/functions/docs/quickstart).

When mounting Secret Manager secrets with `gcloud functions deploy --set-secrets`,
do not mount a secret over `/workspace`. Cloud Run functions load the deployed
function source from `/workspace`, so mounting a secret there can hide the
application files and prevent the function from starting. Mount secret files
under a different path, such as `/etc/secrets` or `/tmp`.

### Container environments based on Knative

Cloud Run and Cloud Run for Anthos both implement the [Knative Serving API](https://www.knative.dev/docs/). The Functions Framework is designed to be compatible with Knative environments. Just build and deploy your container to a Knative environment.
Expand Down