diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/user/project/clusters/serverless/index.md | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/doc/user/project/clusters/serverless/index.md b/doc/user/project/clusters/serverless/index.md index c374acd4915..f2cb619cb15 100644 --- a/doc/user/project/clusters/serverless/index.md +++ b/doc/user/project/clusters/serverless/index.md @@ -150,29 +150,29 @@ Follow these steps to deploy a function using the Node.js runtime to your Knativ environment: FOO: value - functions: - echo-js: - handler: echo-js - source: ./echo-js - runtime: https://gitlab.com/gitlab-org/serverless/runtimes/nodejs - description: "node.js runtime function" - environment: - MY_FUNCTION: echo-js - - echo-rb: - handler: MyEcho.my_function - source: ./echo-rb - runtime: https://gitlab.com/gitlab-org/serverless/runtimes/ruby - description: "Ruby runtime function" - environment: - MY_FUNCTION: echo-rb - - echo-docker: - handler: echo-docker - source: ./echo-docker - description: "Dockerfile runtime function" - environment: - MY_FUNCTION: echo-docker + functions: + echo-js: + handler: echo-js + source: ./echo-js + runtime: https://gitlab.com/gitlab-org/serverless/runtimes/nodejs + description: "node.js runtime function" + environment: + MY_FUNCTION: echo-js + + echo-rb: + handler: MyEcho.my_function + source: ./echo-rb + runtime: https://gitlab.com/gitlab-org/serverless/runtimes/ruby + description: "Ruby runtime function" + environment: + MY_FUNCTION: echo-rb + + echo-docker: + handler: echo-docker + source: ./echo-docker + description: "Dockerfile runtime function" + environment: + MY_FUNCTION: echo-docker ``` Explanation of fields used above: |