diff options
author | danielgruesso <dgruesso@gitlab.com> | 2018-12-20 10:17:04 -0500 |
---|---|---|
committer | danielgruesso <dgruesso@gitlab.com> | 2018-12-20 10:17:04 -0500 |
commit | 425959e10f88b5950b9a477e0bdf2e874f59b814 (patch) | |
tree | f09762c26b8bdffc1c86e2da8d30ab08cc18b146 | |
parent | cb8dc81fcbf8c0c5ac348848b2b6ed54dc30e188 (diff) | |
download | gitlab-ce-425959e10f88b5950b9a477e0bdf2e874f59b814.tar.gz |
Update variable description
-rw-r--r-- | doc/user/project/clusters/serverless/index.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/user/project/clusters/serverless/index.md b/doc/user/project/clusters/serverless/index.md index 5f3af5a5748..6ffcddae58d 100644 --- a/doc/user/project/clusters/serverless/index.md +++ b/doc/user/project/clusters/serverless/index.md @@ -149,7 +149,7 @@ The `serverless.yaml` file contains three section with distinct parameters: |-----------|-------------| | `name` | Indicates which provider is used to execute `serverless.yaml` file. In this case the TriggerMesh `tm` CLI | | `registry-secret` | Indicates which registry will be used to store docker images | -| `environment` | Includes the environment variables to be passed as part of function execution, where `FOO` is the variable name and `BAR` are he variable contents. You may replace this with you own variables | +| `environment` | Includes the environment variables to be passed as part of function execution for **all** functions in the file, where `FOO` is the variable name and `BAR` are he variable contents. You may replace this with you own variables | ### `functions` @@ -161,7 +161,7 @@ The `serverless.yaml` file contains three section with distinct parameters: | `runtime` | Reference to the runtime to be used to execute the function | | `description` | A short description of the function | | `buildargs` | Pointer to the function file in the repo (in the sample the function is located in the `echo` directory) | -| `environment` | Sets an environment variable on function invokation. Pointer to the function file name (in the sample the function is called `echo`) | +| `environment` | Sets an environment variable for the specific function only | After the `gitlab-ci.yml` template has been added and the `serverless.yaml` file has been created, each function must be defined as a single file in your repository. Committing a |